mirror of
https://github.com/beego/bee.git
synced 2024-11-14 22:10:55 +00:00
15 lines
185 B
Go
15 lines
185 B
Go
|
// +build !windows
|
||
|
|
||
|
package terminal
|
||
|
|
||
|
import (
|
||
|
"io"
|
||
|
"os"
|
||
|
)
|
||
|
|
||
|
// getColorableWriter simply returns stdout on
|
||
|
// *nix machines.
|
||
|
func getColorableWriter() io.Writer {
|
||
|
return os.Stdout
|
||
|
}
|