package
9.1.81+incompatible
Repository: https://github.com/pinpt/go-common.git
Documentation: pkg.go.dev

# Functions

CloneMap makes a copy of map.
CreateObject will create a new model object from kv.
Deserialize will return a function which will Deserialize in a flexible way the JSON in reader.
DottedFind will attempt to look for a dotted key such as a.b.c in {"a":{"b":{"c": true}}}.
IsJSONPathNil is the value is nil.
IsJSONPathNotFound returns true if the error is a not found type error.
JoinTable will join 2 tables from dir into a map of joined maps.
ReadFile Tries to open a file from the file system and read it into an object.
RegisterAction will register a new action.
StreamToMap will stream a file into results.
Stringify will return a JSON formatted string.

# Interfaces

Object is a schema model object interface.

# Type aliases

Action is the signature for handling registered actions.
Deserializer is a callback which will take a json RawMessage for processing.