Skip to content

Commit c5fa49d

Browse files
committed
chore: lint
1 parent 2dc58a5 commit c5fa49d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

sentrysql/operation.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ package sentrysql
33
import "strings"
44

55
var knownDatabaseOperations = map[string]struct{}{
6-
"SELECT": struct{}{},
7-
"INSERT": struct{}{},
8-
"DELETE": struct{}{},
9-
"UPDATE": struct{}{},
6+
"SELECT": {},
7+
"INSERT": {},
8+
"DELETE": {},
9+
"UPDATE": {},
1010
}
1111

1212
func parseDatabaseOperation(query string) string {

0 commit comments

Comments
 (0)