Fix data storage and other things

This commit is contained in:
Tulir Asokan
2018-08-16 19:20:07 +03:00
parent 9c48eeb534
commit 141eba644b
13 changed files with 158 additions and 36 deletions

View File

@ -23,7 +23,7 @@ import (
type UserQuery struct {
db *Database
log *log.Sublogger
log log.Logger
}
func (uq *UserQuery) CreateTable() error {
@ -71,7 +71,7 @@ func (uq *UserQuery) Get(userID string) *User {
type User struct {
db *Database
log *log.Sublogger
log log.Logger
UserID string
ManagementRoom string