Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RelationTypeNames = []string{ OneToOne: "one to one", OneToMany: "one to many", ManyToOne: "many to one", ManyToMany: "many to many", }
Functions ¶
This section is empty.
Types ¶
type RelationType ¶
type RelationType int
const ( OneToOne RelationType = iota OneToMany ManyToOne ManyToMany )
func FromString ¶
func FromString(rts string) RelationType
func (RelationType) String ¶
func (rt RelationType) String() string
Click to show internal directories.
Click to hide internal directories.