fehlerbehebung

This commit is contained in:
xoy 2023-01-28 19:04:26 +01:00
parent dbf038fd15
commit dc70da861f
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 {
results, err := database.Query("SELECT id, name FROM tags")
results, err := database.Query(sqlCode)
if err != nil {
panic(err.Error())
}