fehlerbehebung
This commit is contained in:
parent
dbf038fd15
commit
dc70da861f
|
@ -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