fehlerbehebung
This commit is contained in:
parent
8d2032829c
commit
ea1e8fe8d6
|
@ -21,7 +21,7 @@ func dbClose(database *sql.DB) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func dbQuerry(database *sql.DB, sqlCode string) *sql.Rows {
|
func dbQuerry(database *sql.DB, sqlCode string) *sql.Rows {
|
||||||
results, err := database.Query("SELECT id, name FROM tags")
|
results, err := database.Query(sqlCode)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
panic(err.Error())
|
panic(err.Error())
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue