Parcourir la source

Refactor VerificationLevel consts

Nicholas Stafie il y a 9 ans
Parent
commit
cba9b5039e
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      structs.go

+ 4 - 4
structs.go

@@ -150,10 +150,10 @@ type VerificationLevel int
 
 // Constants for VerificationLevel levels from 0 to 3 inclusive
 const (
-	VerificationLevelNone   VerificationLevel = iota
-	VerificationLevelLow    VerificationLevel = iota
-	VerificationLevelMedium VerificationLevel = iota
-	VerificationLevelHigh   VerificationLevel = iota
+	VerificationLevelNone VerificationLevel = iota
+	VerificationLevelLow
+	VerificationLevelMedium
+	VerificationLevelHigh
 )
 
 // A Guild holds all data related to a specific Discord Guild.  Guilds are also