wtf
This commit is contained in:
2
meta.go
2
meta.go
@@ -21,7 +21,7 @@ func (u *UserData) LoadMeta() bool {
|
|||||||
|
|
||||||
for rows.Next() {
|
for rows.Next() {
|
||||||
var m metadata
|
var m metadata
|
||||||
rows.Scan(m.Key, m.Value, m.ID)
|
rows.Scan(&m.Key, &m.Value, &m.ID)
|
||||||
u.Meta[m.Key] = m
|
u.Meta[m.Key] = m
|
||||||
log.Printf("Loaded meta key %s id %d value %s", m.Key, m.ID, m.Value)
|
log.Printf("Loaded meta key %s id %d value %s", m.Key, m.ID, m.Value)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user