Browse Source

Bug bei ShowTyp

pull/1/head
Georg Spar 1 year ago
parent
commit
74d30dd00b
  1. 2
      wdmdb.go

2
wdmdb.go

@ -58,7 +58,7 @@ func ShowTyp() (typArray []Typ, err error) {
} }
var typ Typ var typ Typ
for results.Next() { for results.Next() {
err = results.Scan(&typ.Id, typ.Bezeichnung) err = results.Scan(&typ.Id, &typ.Bezeichnung)
if err != nil { if err != nil {
log.Fatal("Error: ", err) log.Fatal("Error: ", err)
} }

Loading…
Cancel
Save