Преглед на файлове

Refactor VerificationLevel consts

Nicholas Stafie преди 9 години
родител
ревизия
cba9b5039e
променени са 1 файла, в които са добавени 4 реда и са изтрити 4 реда
  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