Improves documentation

This commit is contained in:
Manu Mtz.-Almeida
2016-01-26 22:40:29 +01:00
parent e9531e5c76
commit 61fae4997d
4 changed files with 22 additions and 21 deletions
+2 -4
View File
@@ -29,10 +29,8 @@ const (
// Note that both Logger and Recovery provides custom ways to configure their
// output io.Writer.
// To support coloring in Windows use:
// ```
// import "github.com/mattn/go-colorable"
// gin.DefaultWriter = colorable.NewColorableStdout()
// ```
// import "github.com/mattn/go-colorable"
// gin.DefaultWriter = colorable.NewColorableStdout()
var DefaultWriter io.Writer = os.Stdout
var DefaultErrorWriter io.Writer = os.Stderr