From 0d45cf32616f8b386a09d568d28ef909fa9f82a6 Mon Sep 17 00:00:00 2001 From: netbenix <36106848+netbenix@users.noreply.github.com> Date: Tue, 22 Feb 2022 13:47:36 +0100 Subject: [PATCH] refactor(SQL): Fixed declaration of LogType constants --- SQL/LogTypes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/SQL/LogTypes.go b/SQL/LogTypes.go index 40dbd47..c24da8e 100644 --- a/SQL/LogTypes.go +++ b/SQL/LogTypes.go @@ -5,10 +5,10 @@ import "fmt" type LogType int64 const ( - LogInfo LogType = 1 - LogWarning = 2 - LogError = 3 - LogFatal = 4 + LogInfo LogType = iota + LogWarning + LogError + LogFatal ) func (e LogType) String() string {