Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed Oct 26, 2024
1 parent 2dc58a5 commit c5fa49d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions sentrysql/operation.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ package sentrysql
import "strings"

var knownDatabaseOperations = map[string]struct{}{
"SELECT": struct{}{},
"INSERT": struct{}{},
"DELETE": struct{}{},
"UPDATE": struct{}{},
"SELECT": {},
"INSERT": {},
"DELETE": {},
"UPDATE": {},
}

func parseDatabaseOperation(query string) string {
Expand Down

0 comments on commit c5fa49d

Please sign in to comment.