style: nitpicking on semicolons

This commit is contained in:
Reinaldy Rafli 2021-11-08 17:01:43 +07:00
parent 9f593cd19b
commit a308c0a7a2
No known key found for this signature in database
GPG Key ID: CFDB9400255D8CB6
2 changed files with 4 additions and 4 deletions

View File

@ -113,7 +113,7 @@ func Flush() error {
}
defer conn.Release()
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators;")
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators")
if err != nil {
return err
}

View File

@ -165,15 +165,15 @@ func Flush() error {
}
defer conn.Release()
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE submission;")
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE submission")
if err != nil {
return err
}
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE jokesbapak2;")
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE jokesbapak2")
if err != nil {
return err
}
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators;")
_, err = conn.Exec(context.Background(), "TRUNCATE TABLE administrators")
if err != nil {
return err
}