Documentation ¶
Index ¶
- func CamelCase(str string) string
- func GetArraySubtype(t string) string
- func GetMapSubtypes(t string) (string, string)
- func GetNameForType(t string, imports map[string]string) string
- func GetPackageNamesForType(t string) []string
- func GetUnderlyingType(t string) string
- func IsArrayType(t string) bool
- func IsDebugModeEnabled() bool
- func IsListType(t string) bool
- func IsMapType(t string) bool
- func IsOptionType(t string) bool
- func IsPrimitiveType(t string) bool
- func IsSliceType(t string) bool
- func IsStringType(t string) bool
- func IsStructType(t string) bool
- func IsTraceModeEnabled() bool
- func JsonSerialize(v any, ident bool) ([]byte, error)
- func MapKeys[M ~map[K]V, K comparable, V any](m M) []K
- func MapValues[M ~map[K]V, K comparable, V any](m M) []V
- func TimeNow() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArraySubtype ¶
func GetMapSubtypes ¶
func GetPackageNamesForType ¶
func GetUnderlyingType ¶
func IsArrayType ¶
func IsDebugModeEnabled ¶
func IsDebugModeEnabled() bool
func IsListType ¶
func IsOptionType ¶ added in v0.16.6
func IsPrimitiveType ¶
func IsSliceType ¶
func IsStringType ¶
func IsStructType ¶
func IsTraceModeEnabled ¶
func IsTraceModeEnabled() bool
func MapKeys ¶
func MapKeys[M ~map[K]V, K comparable, V any](m M) []K
func MapValues ¶
func MapValues[M ~map[K]V, K comparable, V any](m M) []V
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.