Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Join ¶
func Join[M ~map[K]V, K comparable, V any](m M, sliceSep, mapSep string) string
Join converts the map to a string type by concatenating the key with the value using the given `mapSep` string, and `sliceSep` string between the slice values. For example: `Slice(map[int]string{1: "one", 2: "two"}, "-", ", ")` returns `"1-one, 2-two"`
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.