Documentation
¶
Index ¶
- func Base64Decode(encoded string) (string, error)
- func Base64Encode(text string) string
- func ConvertToJSON(item interface{}) (string, error)
- func GetVal(hash map[string]string, key, def string) string
- func InArray(val interface{}, array interface{}) bool
- func IsEmpty(item string) bool
- func LoadFromJSON(item interface{}, data []byte) error
- func MergeMaps(m1, m2 map[string]string) map[string]string
- func Rand(min, max int) int
- func Unset(a []string, i int) []string
- type Map
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decodes 64 encoded string
func ConvertToJSON ¶
ConvertToJSON convert object to json
func InArray ¶
func InArray(val interface{}, array interface{}) bool
InArray check if value is on array
func LoadFromJSON ¶
LoadFromJSON update object from json
Types ¶
Click to show internal directories.
Click to hide internal directories.