Documentation ¶
Index ¶
- func BoolPtr(b bool) *bool
- func Different(slice1 []string, slice2 []string) []string
- func Float32Ptr(f float32) *float32
- func GUNZIP(data []byte) ([]byte, *gzip.Header, error)
- func GZIP(data []byte, header *gzip.Header) ([]byte, error)
- func GetEnvironment() string
- func Hash(text string) string
- func Intersect(slice1 []string, slice2 []string) []string
- func StringPtr(s string) *string
- func UnmarshalMapInto(m map[string]interface{}, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Float32Ptr ¶
Float32Ptr returns a pointer to the passed float32.
func GUNZIP ¶
GUNZIP decompresses & outputs data from the GZIP format. Optional GZIP header metadata passed into the compressed data is also returned.
func GZIP ¶
GZIP compresses & outputs data in the GZIP format. Optional GZIP header metadata can be passed into the compressed data.
func GetEnvironment ¶
func GetEnvironment() string
GetEnvironment return the current environment name
func UnmarshalMapInto ¶
UnmarshalMapInto (json) marshals m & (json) unmarshals it into v.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.