Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyMap ¶
func CopyMap[K comparable, V any](m map[K]V) map[K]V
CopyMap copies a map. If the value is a pointer, the pointer is copied, not the value.
func InsertString ¶
InsertString inserts a string into another string at a given index.
func RemoveAnsiReset ¶
RemoveAnsiReset removes the first ansi reset code from a string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.