Documentation ¶
Index ¶
- func AlterDynamicProperty(prevDynamicValue []byte, dynamicProperty interface{}) map[string]interface{}
- func AnyToString(i any) string
- func CamelCase(u interface{}) (interface{}, error)
- func ConvertInt64ToStr(intValue int64) string
- func ConvertInterfaceToMapOfStringKey(i interface{}) map[string]interface{}
- func ConvertStrToInt64(str string) int64
- func GetType(i interface{}) string
- func InterfaceToString(i interface{}) string
- func IsNullOrEmpty(i interface{}) bool
- func SafeGet(jsonString string, selector string) interface{}
- func SafeGetFromInterface(i interface{}, selector string) interface{}
- func SafeGetFromInterfaceErrorCaught(i interface{}, selector string) (interface{}, error)
- func SafeGetFromInterfaceGeneric[t any](i interface{}, selector string) any
- func SafeGetFromInterfaceGenericAndDeserialize[T any](i interface{}, selector string) T
- func SafeGetMarshalled(jsonString string, selector string) []byte
- func SafeGetToString(jsonString string, selector string) string
- func ToCamelCaseLower(s string) string
- func ToSnakeCase(s string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AlterDynamicProperty ¶
func AnyToString ¶
func CamelCase ¶
func CamelCase(u interface{}) (interface{}, error)
CamelCase converts the supplied data into a map[string]interface{} representation then recursively renames any keys that start with an uppercase letter to the same name with a lowercase first letter.
func ConvertInt64ToStr ¶
func ConvertInterfaceToMapOfStringKey ¶
func ConvertInterfaceToMapOfStringKey(i interface{}) map[string]interface{}
func ConvertStrToInt64 ¶
func InterfaceToString ¶
func InterfaceToString(i interface{}) string
func IsNullOrEmpty ¶
func IsNullOrEmpty(i interface{}) bool
func SafeGetFromInterface ¶
func SafeGetFromInterface(i interface{}, selector string) interface{}
func SafeGetMarshalled ¶
func SafeGetToString ¶
func ToCamelCaseLower ¶
func ToSnakeCase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.