Versions in this module Expand all Collapse all v0 v0.0.10 Jul 19, 2017 Changes in this version + type Container interface + Add func(key string, val *Node) error + Get func(key string) (*Node, error) + Remove func(key string) error + Set func(key string, val *Node) error + type Node struct + func NewNode(raw *interface{}) *Node + func (n *Node) Container() Container + func (n *Node) Empty() bool + func (n *Node) Equal(other *Node) bool + func (n *Node) MarshalYAML() (interface{}, error) + func (n *Node) UnmarshalYAML(unmarshal func(interface{}) error) error + func (n *Node) Value() interface{} + type Op string + type OpPath string + func (p *OpPath) ContainsExtendedSyntax() bool + func (p *OpPath) Decompose() ([]string, string, error) + func (p *OpPath) String() string + type Operation struct + From OpPath + Op Op + Path OpPath + Value *Node + func (o *Operation) Perform(c Container) error + type Patch []Operation + func DecodePatch(bs []byte) (Patch, error) + func (p Patch) Apply(doc []byte) ([]byte, error) + type PathFinder struct + func NewPathFinder(container Container) *PathFinder + func (p *PathFinder) Find(path string) []string + type PlaceholderWrapper struct + LeftSide string + RightSide string + func NewPlaceholderWrapper(left, right string) *PlaceholderWrapper + func (w *PlaceholderWrapper) Unwrap(input []byte) []byte + func (w *PlaceholderWrapper) Wrap(input []byte) []byte