mirror of
https://github.com/kataras/iris.git
synced 2026-01-08 20:41:57 +00:00
remove second "and" from sessions/sessiondb/file#SerializeBytes comment.
Former-commit-id: b648f43eb2827dbb682ef3aac7f99643a15619a5
This commit is contained in:
@@ -110,7 +110,7 @@ func (d *Database) Update(sid string, newValues map[string]interface{}, expireDa
|
||||
}
|
||||
}
|
||||
|
||||
// SerializeBytes serializes the "m" into bytes using gob encoder and and returns the result.
|
||||
// SerializeBytes serializes the "m" into bytes using gob encoder and returns the result.
|
||||
func SerializeBytes(m interface{}) ([]byte, error) {
|
||||
buf := new(bytes.Buffer)
|
||||
enc := gob.NewEncoder(buf)
|
||||
|
||||
Reference in New Issue
Block a user