package
Version:
v0.0.0-...-8b1022e
Opens a new window with list of versions in this module.
Published: Jun 17, 2016
License: Apache-2.0, Apache-2.0
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
package pathreflect provides the ability to address an object graph using
a path notation and then modify the addressed node.
Clear clears the given value in the given on at this Path.
func (p Path) Get(on interface{}) (interface{}, error)
Get gets the value in the given on at this Path.
func (p Path) Set(on interface{}, val interface{}) error
Set sets the given value in the given on at this Path.
func (p Path) ZeroValue(on interface{}) (val interface{}, err error)
ZeroValue returns the ZeroValue corresponding to the type of element at this
path.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.