go-pattern-examples/main.go
2020-04-28 22:48:25 +08:00

18 lines
262 B
Go

package main
import (
"fmt"
"github.com/logrusorgru/aurora" //这是一个控制台可以多种颜色输出的颜色库
)
func main() {
startGo := letsGo()
fmt.Sprintln(aurora.Green(startGo))
}
func letsGo() string {
return fmt.Sprintln("start go!")
}