Skip to content

Commit

Permalink
Removed additional Iota
Browse files Browse the repository at this point in the history
I think assigning iota to each constant is not required
  • Loading branch information
soniabhishek authored Sep 29, 2016
1 parent f931d1e commit 15fc943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mode.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 15fc943

Please sign in to comment.