소스 검색

Merge pull request #139 from mirzac/fixed-debugPrint

fixed debugPrint
Manu Mtz.-Almeida 11 년 전
부모
커밋
1479952fbc
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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...)
 	}
 }