Versions in this module Expand all Collapse all v2 v2.0.1 Sep 22, 2021 Changes in this version + func StringSliceContains(slices []string, value string) bool v2.0.0 Oct 30, 2020 Changes in this version + func BoolPointer(value bool) *bool + func Float64Of(unknown interface{}) (float64, error) + func HashOf(value string) uint32 + func Int64Of(unknown interface{}) (int64, error) + func IntOf(unknown interface{}) (int, error) + func IsEmptyString(s *string) bool + func StringArrayOf(unknown interface{}) ([]string, error) + func StringLastOf(unknown interface{}, count int) string + func StringOf(unknown interface{}) string + func StringRandom(size int) string + func ToDurationPtr(d time.Duration) *time.Duration + func Uint64Of(unknown interface{}) (uint64, error) + type IMapDecoder interface + Decode func(in interface{}, out interface{}) error + type JSONMapDecoder struct + func (d *JSONMapDecoder) Decode(in interface{}, out interface{}) error + type StringMap map[string]interface + func (m *StringMap) Get(key string) (interface{}, bool) + func (m *StringMap) GetAs(key string, out interface{}) error + func (m *StringMap) GetAsByPath(path string, out interface{}) error + func (m *StringMap) GetAsWith(decoder IMapDecoder, key string, out interface{}) error + func (m *StringMap) Set(key string, value interface{})