From 15fc943ba4604d757a56698432c59fa06b1437c0 Mon Sep 17 00:00:00 2001 From: ABHISHEK SONI Date: Thu, 29 Sep 2016 19:32:27 +0530 Subject: [PATCH] Removed additional Iota I think assigning iota to each constant is not required --- mode.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mode.go b/mode.go index f44b071..c600b7b 100644 --- a/mode.go +++ b/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