瀏覽代碼

Removed additional Iota

I think assigning iota to each constant is not required
ABHISHEK SONI 10 年之前
父節點
當前提交
15fc943ba4
共有 1 個文件被更改,包括 2 次插入 和 2 次删除
  1. 2 2
      mode.go

+ 2 - 2
mode.go

@@ -20,8 +20,8 @@ const (
 )
 const (
 	debugCode   = iota
-	releaseCode = iota
-	testCode    = iota
+	releaseCode 
+	testCode  
 )
 
 // DefaultWriter is the default io.Writer used the Gin for debug output and