fix: error lint
This commit is contained in:
@@ -6,5 +6,6 @@ import (
|
||||
)
|
||||
|
||||
func TruncateTable(db *sql.DB, table string) {
|
||||
db.Exec(fmt.Sprintf("TRUNCATE TABLE %s RESTART IDENTITY", table))
|
||||
_, err := db.Exec(fmt.Sprintf("TRUNCATE TABLE %s RESTART IDENTITY", table))
|
||||
_ = err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user