Documentation ¶
Index ¶
- func CorsHeaders() map[string]string
- func DeepCopy(fromValue interface{}) (toValue interface{})
- func GetEnv(name string, def string) (env string)
- func MapStringInterfaceToMapStringString(inputMap map[string]interface{}) map[string]string
- func MergeMaps(maps ...map[string]string) map[string]string
- func PointerValue[V any](value V) *V
- func Unwrap[V any](value *V) V
- func UnwrapBool(b *bool) bool
- func UnzipData(data []byte) (map[string][]byte, error)
- func ZipData(fileName string, data []byte) ([]byte, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapStringInterfaceToMapStringString ¶
MapStringInterfaceToMapStringString converts a generic value typed map to a map with string values
func MergeMaps ¶
MergeMaps If there are similar properties in the maps, the last one will be used as the value
func PointerValue ¶ added in v1.71.0
func PointerValue[V any](value V) *V
func UnwrapBool ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.