Versions in this module Expand all Collapse all v1 v1.0.1 Dec 19, 2023 Changes in this version + type Field struct + ArraySize int + FullName string + Name string + NameTag string + SubFields []Field + Type FieldType + Visibility Visibility + type FieldType uint8 + const Array + const Leaf + const Struct + type InitHook interface + GnarkInitHook func() + type LeafCount struct + Public int + Secret int + func Walk(circuit interface{}, tLeaf reflect.Type, handler LeafHandler) (count LeafCount, err error) + type LeafHandler func(field LeafInfo, tValue reflect.Value) error + type LeafInfo struct + FullName func() string + Visibility Visibility + type Schema struct + Fields []Field + NbPublic int + NbSecret int + func New(circuit interface{}, tLeaf reflect.Type) (*Schema, error) + func (s Schema) Instantiate(leafType reflect.Type, omitEmptyTag ...bool) interface{} + func (s Schema) WriteSequence(w io.Writer) error + type TagOpt string + const TagOptInherit + const TagOptOmit + const TagOptPublic + const TagOptSecret + type Visibility uint8 + const Internal + const Public + const Secret + const Unset + const Virtual + func (v Visibility) String() string