fehlerbehebung

This commit is contained in:
xoy 2023-01-28 19:04:26 +01:00
parent 8d2032829c
commit ea1e8fe8d6
1 changed files with 1 additions and 1 deletions

View File

@ -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())
} }