mirror of https://github.com/gin-gonic/gin.git
Removed additional Iota
I think assigning iota to each constant is not required
This commit is contained in:
parent
f931d1ea80
commit
15fc943ba4
4
mode.go
4
mode.go
|
@ -20,8 +20,8 @@ const (
|
||||||
)
|
)
|
||||||
const (
|
const (
|
||||||
debugCode = iota
|
debugCode = iota
|
||||||
releaseCode = iota
|
releaseCode
|
||||||
testCode = iota
|
testCode
|
||||||
)
|
)
|
||||||
|
|
||||||
// DefaultWriter is the default io.Writer used the Gin for debug output and
|
// DefaultWriter is the default io.Writer used the Gin for debug output and
|
||||||
|
|
Loading…
Reference in New Issue