Explorar o código

Merge pull request #139 from mirzac/fixed-debugPrint

fixed debugPrint
Manu Mtz.-Almeida %!s(int64=11) %!d(string=hai) anos
pai
achega
1479952fbc
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mode.go

+ 1 - 1
mode.go

@@ -58,6 +58,6 @@ func IsDebugging() bool {
 
 func debugPrint(format string, values ...interface{}) {
 	if IsDebugging() {
-		fmt.Printf("[GIN-debug] "+format, values)
+		fmt.Printf("[GIN-debug] "+format, values...)
 	}
 }