Refactor everything

This commit is contained in:
r 2020-01-28 17:51:00 +00:00
parent 57d2a4288b
commit 2af37d4778
26 changed files with 1320 additions and 1361 deletions

View file

@ -16,7 +16,7 @@ type Session struct {
Settings Settings `json:"settings"`
}
type SessionRepository interface {
type SessionRepo interface {
Add(session Session) (err error)
Get(sessionID string) (session Session, err error)
}