Documentation
¶
Index ¶
- func GetFakeRefs(refs []Ref) map[string]any
- type Ref
- type RefType
- type Walker
- func (t *Walker) Array(v reflect.Value) error
- func (t *Walker) ArrayElem(idx int, v reflect.Value) error
- func (t *Walker) Map(m reflect.Value) error
- func (t *Walker) MapElem(m, k, v reflect.Value) error
- func (t *Walker) Primitive(v reflect.Value) error
- func (t *Walker) Struct(v reflect.Value) error
- func (t *Walker) StructField(sf reflect.StructField, v reflect.Value) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFakeRefs ¶
Types ¶
type Ref ¶
func NewFromString ¶
func ParseFieldRefs ¶
NOTE(jm): this was the fastest way to build out a list of all references, however long term we would like to switch to use an AST to identify all references in a "smarter" and less-brittle way.
type Walker ¶
type Walker struct {
// contains filtered or unexported fields
}
func (*Walker) StructField ¶
Click to show internal directories.
Click to hide internal directories.