Support disable console color.

Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
This commit is contained in:
Bo-Yi Wu
2016-12-21 14:24:01 +08:00
parent e06cef0672
commit d158ef2e82
4 changed files with 26 additions and 9 deletions

View File

@ -7,6 +7,8 @@ import (
var DB = make(map[string]string)
func main() {
// Disable Console Color
// gin.DisableConsoleColor()
r := gin.Default()
// Ping test