Documentation
¶
Index ¶
- Constants
- func ColorText(color int, str string) string
- func ConvertUnderline(str string) string
- func Format(str string, params ...any) string
- func IntToStr(i int) string
- func IsEmpty(str string) bool
- func IsNotEmpty(str string) bool
- func NewBuffer() strBuffer
- func SubString(str string, startIndex, endIndex int) string
- func ToBytes(str string) []byte
- func ToFloat(s string) float64
- func ToInt(str string) int
Constants ¶
View Source
const ( Black = iota + 30 Red Green Yellow Blue Purple Cyan White )
Variables ¶
This section is empty.
Functions ¶
func ConvertUnderline ¶
ConvertUnderline 将字符串转为下划线形式. eg: Input HelloWorld return hello_world
func IsNotEmpty ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.