Versions in this module Expand all Collapse all v0 v0.7.0 Dec 24, 2017 Changes in this version + func LoadIteratorToDepth(ctx context.Context, qs graph.QuadStore, dst reflect.Value, depth int, ...) error + func LoadPathTo(ctx context.Context, qs graph.QuadStore, dst interface{}, p *path.Path) error + func LoadToDepth(ctx context.Context, qs graph.QuadStore, dst interface{}, depth int, ...) error + type ErrReqFieldNotSet struct + Field string + func (e ErrReqFieldNotSet) Error() string v0.6.1 Apr 12, 2017 Changes in this version + var GenerateID func(interface{}) quad.Value = func(_ interface{}) quad.Value + var Optimize = true + func IsNotFound(err error) bool + func LoadIteratorTo(ctx context.Context, qs graph.QuadStore, dst reflect.Value, ...) error + func LoadNamespaces(ctx context.Context, qs graph.QuadStore, dest *voc.Namespaces) error + func LoadTo(ctx context.Context, qs graph.QuadStore, dst interface{}, ids ...quad.Value) error + func PathForType(rt reflect.Type) (*path.Path, error) + func RegisterType(iri quad.IRI, obj interface{}) + func WriteAsQuads(w quad.Writer, o interface{}) (quad.Value, error) + func WriteNamespaces(w quad.Writer, n *voc.Namespaces) error + type Class struct + Extends []quad.IRI + Properties []Property + SupersededBy []quad.IRI + type ClassesByIRI []Class + func (a ClassesByIRI) Len() int + func (a ClassesByIRI) Less(i, j int) bool + func (a ClassesByIRI) Swap(i, j int) + type ErrTypeConversionFailed struct + From reflect.Type + To reflect.Type + func (e ErrTypeConversionFailed) Error() string + type Object struct + Comment string + Description string + ID quad.IRI + Label string + Name string + type PropertiesByIRI []Property + func (a PropertiesByIRI) Len() int + func (a PropertiesByIRI) Less(i, j int) bool + func (a PropertiesByIRI) Swap(i, j int) + type Property struct + Expects []quad.IRI + InverseOf quad.IRI + SupersededBy []quad.IRI + type ValueConverter interface + SetValue func(dst reflect.Value, src reflect.Value) error + var DefaultConverter ValueConverter + type ValueConverterFunc func(dst reflect.Value, src reflect.Value) error + func (f ValueConverterFunc) SetValue(dst reflect.Value, src reflect.Value) error