relationtype

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2020 License: Unlicense Imports: 1 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL