1
0
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:
kataras
2017-08-03 00:43:43 +03:00
parent 94043bc117
commit 36e6fb37b8
2 changed files with 6 additions and 34 deletions

View File

@@ -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)