vendor dependencies with dep

This commit is contained in:
dhax 2017-09-25 20:20:52 +02:00
parent 93d8310491
commit 1384296a47
2712 changed files with 965742 additions and 0 deletions

23
vendor/github.com/go-pg/pg/orm/relation.go generated vendored Normal file
View file

@ -0,0 +1,23 @@
package orm
import "github.com/go-pg/pg/types"
const (
HasOneRelation = 1 << iota
BelongsToRelation
HasManyRelation
Many2ManyRelation
)
type Relation struct {
Type int
Polymorphic bool
Field *Field
JoinTable *Table
FKs []*Field
M2MTableName types.Q
M2MTableAlias types.Q
BasePrefix string
JoinPrefix string
}