Versions in this module Expand all Collapse all v1 v1.0.1 May 18, 2023 v1.0.0 Nov 10, 2022 Changes in this version + func From(name string, t interface{}) *inverseBuilder + func To(name string, t interface{}) *assocBuilder + type Annotation struct + StructTag string + func (Annotation) Name() string + func (a Annotation) Merge(other schema.Annotation) schema.Annotation + type Descriptor struct + Annotations []schema.Annotation + Comment string + Field string + Inverse bool + Name string + Ref *Descriptor + RefName string + Required bool + StorageKey *StorageKey + Tag string + Type string + Unique bool + type StorageKey struct + Columns []string + Symbols []string + Table string + type StorageOption func(*StorageKey) + func Column(name string) StorageOption + func Columns(to, from string) StorageOption + func Symbol(symbol string) StorageOption + func Symbols(to, from string) StorageOption + func Table(name string) StorageOption