From c5fa49de994f32da77499c632e8e512724556a95 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sat, 26 Oct 2024 19:51:43 +0700 Subject: [PATCH] chore: lint --- sentrysql/operation.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sentrysql/operation.go b/sentrysql/operation.go index 1f339131..4b9591de 100644 --- a/sentrysql/operation.go +++ b/sentrysql/operation.go @@ -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 {