Documentation ¶ Index ¶ func PruneObject(obj map[string]interface{}, paths []Path) (map[string]interface{}, error) func RemovePath(obj map[string]interface{}, path Path) (map[string]interface{}, error) type Path func ParsePath(path string) (Path, error) func (p Path) Head() string func (p Path) Tail() Path Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func PruneObject ¶ func PruneObject(obj map[string]interface{}, paths []Path) (map[string]interface{}, error) func RemovePath ¶ func RemovePath(obj map[string]interface{}, path Path) (map[string]interface{}, error) Types ¶ type Path ¶ type Path []string func ParsePath ¶ func ParsePath(path string) (Path, error) func (Path) Head ¶ func (p Path) Head() string func (Path) Tail ¶ func (p Path) Tail() Path Source Files ¶ View all Source files maputil.go path.go util.go Click to show internal directories. Click to hide internal directories.