Versions in this module Expand all Collapse all v0 v0.6.6 Oct 19, 2017 v0.6.5 Oct 17, 2017 Changes in this version + const ErrExpect + const ErrHttp + const ErrInternal + const ErrInvalid + const ErrNotFound + const ErrOK + const ErrServerResp + var Logger *log.Logger + var Verbose bool + func ArrayCopy(src []interface{}) (dst []interface{}) + func InterfaceEquals(criteria interface{}, existing interface{}) bool + func InterfacePrint(m interface{}, printToConsole bool) + func InterfaceToJsonString(i interface{}) string + func IterateFieldsInInterface(in interface{}, callback FieldIterFunc) error + func IterateMapsInInterface(in interface{}, callback MapIterFunc) error + func JsonToYaml(in []byte) ([]byte, error) + func MapAdd(dst map[string]interface{}, src map[string]interface{}) map[string]interface + func MapCombine(dst map[string]interface{}, src map[string]interface{}) map[string]interface + func MapCopy(src map[string]interface{}) map[string]interface + func MapInterfaceToMapString(src map[string]interface{}) map[string]string + func MapIsCompatible(big map[string]interface{}, small map[string]interface{}) bool + func MapReplace(dst map[string]interface{}, src map[string]interface{}) map[string]interface + func MarshalJsonIndentNoEscape(i interface{}) ([]byte, error) + func NewError(errType int, str string) error + func NewFileLogger(path string) *log.Logger + func NewLogger(out io.Writer) *log.Logger + func NewStdLogger() *log.Logger + func TimeCompare(v1 interface{}, v2 interface{}) bool + func YamlObjToJsonObj(in interface{}) (interface{}, error) + func YamlToJson(in []byte) (json.RawMessage, error) + type Error interface + Type func() int + type FieldIterFunc func(key string, value interface{}) error + type MapIterFunc func(m map[string]interface{}) error + type TypedError struct + func (e *TypedError) Error() string + func (e *TypedError) Type() int