refactor(SQL): Fixed declaration of LogType constants
This commit is contained in:
parent
1b8e1f4e90
commit
0d45cf3261
1 changed files with 4 additions and 4 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Reference in a new issue