소스 검색

Removed additional Iota

I think assigning iota to each constant is not required
ABHISHEK SONI 9 년 전
부모
커밋
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