Save(), save(), remove()

This commit is contained in:
Darko Luketic
2020-04-02 19:16:51 +02:00
parent d75aac376e
commit 412ea3bb36
2 changed files with 72 additions and 8 deletions

View File

@ -8,6 +8,6 @@ import (
type Session struct {
ID primitive.ObjectID `bson:"_id,omitempty"`
Data []byte `bson:"data"`
Data string `bson:"data"`
Modified time.Time `bson:"modified"`
}