wtf
This commit is contained in:
parent
21f094358a
commit
cab4cd536f
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue