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

@ -22,7 +22,7 @@ import (
type PuppetQuery struct {
db *Database
log *log.Sublogger
log log.Logger
}
func (pq *PuppetQuery) CreateTable() error {
@ -67,7 +67,7 @@ func (pq *PuppetQuery) Get(jid, receiver string) *Puppet {
type Puppet struct {
db *Database
log *log.Sublogger
log log.Logger
JID string
Receiver string