Documentation ¶
Index ¶
- func FormatList(def string, elems ...string) string
- func FormatListElements(def string, elems ListElements) string
- func FormatMapElements[E any](def string, m map[string]E, desc ...func(E) string) string
- func StringDescription[E any](e E) string
- type ListElements
- type StringElementDescriptionList
- type StringElementList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatList ¶
func FormatListElements ¶
func FormatListElements(def string, elems ListElements) string
func FormatMapElements ¶
func StringDescription ¶
Types ¶
type ListElements ¶
type StringElementDescriptionList ¶
type StringElementDescriptionList []string
func (StringElementDescriptionList) Description ¶
func (l StringElementDescriptionList) Description(i int) string
func (StringElementDescriptionList) Key ¶
func (l StringElementDescriptionList) Key(i int) string
func (StringElementDescriptionList) Size ¶
func (l StringElementDescriptionList) Size() int
type StringElementList ¶
type StringElementList []string
func (StringElementList) Description ¶
func (l StringElementList) Description(i int) string
func (StringElementList) Key ¶
func (l StringElementList) Key(i int) string
func (StringElementList) Size ¶
func (l StringElementList) Size() int
Click to show internal directories.
Click to hide internal directories.