Sfoglia il codice sorgente

Merge pull request #139 from mirzac/fixed-debugPrint

fixed debugPrint
Manu Mtz.-Almeida 11 anni fa
parent
commit
1479952fbc
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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...)
 	}
 }