Explorar o código

fixed debugPrint

Mirza Ceric %!s(int64=11) %!d(string=hai) anos
pai
achega
a57db1a355
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...)
 	}
 }