Documentation
¶
Index ¶
- func FormatIndexSequence(indexes []int) string
- func FormatStringSequence(values []string) string
- func GetKeyName(prefix string, fieldType reflect.StructField) (keyName string)
- func LongTypeName(_type reflect.Type) string
- func Register(value any)
- func ToSnakeCase(s string) string
- func TypeIsRegistered(t reflect.Type) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatIndexSequence ¶
FormatIndexSequence formats nicely slice of integers.
func FormatStringSequence ¶
FormatStringSequence formats nicely slice of strings.
func GetKeyName ¶
func GetKeyName(prefix string, fieldType reflect.StructField) (keyName string)
GetKeyName returns key name based on root prefix and struct field.
func LongTypeName ¶
LongTypeName returns long name for a type.
func TypeIsRegistered ¶
TypeIsRegistered returns true when type t is registered.
Types ¶
This section is empty.