$ go run test.go
package main
import (
"github.com/BeanWei/colorprint"
)
func main() {
colorprint.Print("Hello\n", colorprint.Deepblue)
colorprint.Print("Hello\n", colorprint.Green)
colorprint.Print("Hello\n", colorprint.Skyblue)
colorprint.Print("Hello\n", colorprint.Red)
colorprint.Print("Hello\n", colorprint.Purple)
colorprint.Print("Hello\n", colorprint.Yellow)
colorprint.Print("Hello\n", colorprint.White)
}
-
Notifications
You must be signed in to change notification settings - Fork 0
BeanWei/colorprint
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
打印出有颜色的字,仅对windows下的控制台有用
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published