ocolor

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 28, 2021 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RedColor = iota + 31
	GreenColor
	YellowColor
	BlueColor
)

Variables

This section is empty.

Functions

func Blue

func Blue(msg string, arg ...interface{}) string

Blue @Description: @param msg @param arg @return string

func Green

func Green(msg string, arg ...interface{}) string

Green @Description: @param msg @param arg @return string

func RandomColor

func RandomColor() string

RandomColor @Description: 生成随机颜色 @return string

func Red

func Red(msg string, arg ...interface{}) string

Red @Description: @param msg @param arg @return string

func Yellow

func Yellow(msg string, arg ...interface{}) string

Yellow @Description: @param msg @param arg @return string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL