Parcourir la source

Updating IsDebugging docs to remove redudent words. (#868)

Regner Blok-Andersen il y a 9 ans
Parent
commit
ee7b912a24
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      debug.go

+ 1 - 1
debug.go

@@ -15,7 +15,7 @@ func init() {
 }
 
 // IsDebugging returns true if the framework is running in debug mode.
-// Use SetMode(gin.Release) to switch to disable the debug mode.
+// Use SetMode(gin.Release) to disable debug mode.
 func IsDebugging() bool {
 	return ginMode == debugCode
 }