Documentation ¶
Index ¶
- func CutRight(str string, lastTag string) string
- func Length(s string) int
- func MapToStringList[TKey comparable, TValue any](maps map[TKey]TValue) []string
- func PadLeft(str string, totalWidth int, paddingChar string) string
- func PadRight(str string, totalWidth int, paddingChar string) string
- func ParseTag(body string, startTag, endTag string) (string, error)
- func Substring(body string, endTag string) (string, error)
- func ToDateTime(t time.Time) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapToStringList ¶
func MapToStringList[TKey comparable, TValue any](maps map[TKey]TValue) []string
MapToStringList 将map转成字符串数组,map的kv转成:k=v格式
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.