Documentation ¶
Index ¶
- Constants
- Variables
- func Age(v uint64) predicate.Hustler
- func AgeEQ(v uint64) predicate.Hustler
- func AgeGT(v uint64) predicate.Hustler
- func AgeGTE(v uint64) predicate.Hustler
- func AgeIn(vs ...uint64) predicate.Hustler
- func AgeLT(v uint64) predicate.Hustler
- func AgeLTE(v uint64) predicate.Hustler
- func AgeNEQ(v uint64) predicate.Hustler
- func AgeNotIn(vs ...uint64) predicate.Hustler
- func And(predicates ...predicate.Hustler) predicate.Hustler
- func Background(v string) predicate.Hustler
- func BackgroundContains(v string) predicate.Hustler
- func BackgroundContainsFold(v string) predicate.Hustler
- func BackgroundEQ(v string) predicate.Hustler
- func BackgroundEqualFold(v string) predicate.Hustler
- func BackgroundGT(v string) predicate.Hustler
- func BackgroundGTE(v string) predicate.Hustler
- func BackgroundHasPrefix(v string) predicate.Hustler
- func BackgroundHasSuffix(v string) predicate.Hustler
- func BackgroundIn(vs ...string) predicate.Hustler
- func BackgroundIsNil() predicate.Hustler
- func BackgroundLT(v string) predicate.Hustler
- func BackgroundLTE(v string) predicate.Hustler
- func BackgroundNEQ(v string) predicate.Hustler
- func BackgroundNotIn(vs ...string) predicate.Hustler
- func BackgroundNotNil() predicate.Hustler
- func Color(v string) predicate.Hustler
- func ColorContains(v string) predicate.Hustler
- func ColorContainsFold(v string) predicate.Hustler
- func ColorEQ(v string) predicate.Hustler
- func ColorEqualFold(v string) predicate.Hustler
- func ColorGT(v string) predicate.Hustler
- func ColorGTE(v string) predicate.Hustler
- func ColorHasPrefix(v string) predicate.Hustler
- func ColorHasSuffix(v string) predicate.Hustler
- func ColorIn(vs ...string) predicate.Hustler
- func ColorIsNil() predicate.Hustler
- func ColorLT(v string) predicate.Hustler
- func ColorLTE(v string) predicate.Hustler
- func ColorNEQ(v string) predicate.Hustler
- func ColorNotIn(vs ...string) predicate.Hustler
- func ColorNotNil() predicate.Hustler
- func CreatedAt(v time.Time) predicate.Hustler
- func CreatedAtEQ(v time.Time) predicate.Hustler
- func CreatedAtGT(v time.Time) predicate.Hustler
- func CreatedAtGTE(v time.Time) predicate.Hustler
- func CreatedAtIn(vs ...time.Time) predicate.Hustler
- func CreatedAtLT(v time.Time) predicate.Hustler
- func CreatedAtLTE(v time.Time) predicate.Hustler
- func CreatedAtNEQ(v time.Time) predicate.Hustler
- func CreatedAtNotIn(vs ...time.Time) predicate.Hustler
- func HasAccessory() predicate.Hustler
- func HasAccessoryWith(preds ...predicate.Item) predicate.Hustler
- func HasBeard() predicate.Hustler
- func HasBeardWith(preds ...predicate.BodyPart) predicate.Hustler
- func HasBody() predicate.Hustler
- func HasBodyWith(preds ...predicate.BodyPart) predicate.Hustler
- func HasClothes() predicate.Hustler
- func HasClothesWith(preds ...predicate.Item) predicate.Hustler
- func HasDrug() predicate.Hustler
- func HasDrugWith(preds ...predicate.Item) predicate.Hustler
- func HasFoot() predicate.Hustler
- func HasFootWith(preds ...predicate.Item) predicate.Hustler
- func HasHair() predicate.Hustler
- func HasHairWith(preds ...predicate.BodyPart) predicate.Hustler
- func HasHand() predicate.Hustler
- func HasHandWith(preds ...predicate.Item) predicate.Hustler
- func HasIndex() predicate.Hustler
- func HasIndexWith(preds ...predicate.Search) predicate.Hustler
- func HasNeck() predicate.Hustler
- func HasNeckWith(preds ...predicate.Item) predicate.Hustler
- func HasRing() predicate.Hustler
- func HasRingWith(preds ...predicate.Item) predicate.Hustler
- func HasVehicle() predicate.Hustler
- func HasVehicleWith(preds ...predicate.Item) predicate.Hustler
- func HasWaist() predicate.Hustler
- func HasWaistWith(preds ...predicate.Item) predicate.Hustler
- func HasWallet() predicate.Hustler
- func HasWalletWith(preds ...predicate.Wallet) predicate.Hustler
- func HasWeapon() predicate.Hustler
- func HasWeaponWith(preds ...predicate.Item) predicate.Hustler
- func ID(id string) predicate.Hustler
- func IDEQ(id string) predicate.Hustler
- func IDGT(id string) predicate.Hustler
- func IDGTE(id string) predicate.Hustler
- func IDIn(ids ...string) predicate.Hustler
- func IDLT(id string) predicate.Hustler
- func IDLTE(id string) predicate.Hustler
- func IDNEQ(id string) predicate.Hustler
- func IDNotIn(ids ...string) predicate.Hustler
- func Name(v string) predicate.Hustler
- func NameContains(v string) predicate.Hustler
- func NameContainsFold(v string) predicate.Hustler
- func NameEQ(v string) predicate.Hustler
- func NameEqualFold(v string) predicate.Hustler
- func NameGT(v string) predicate.Hustler
- func NameGTE(v string) predicate.Hustler
- func NameHasPrefix(v string) predicate.Hustler
- func NameHasSuffix(v string) predicate.Hustler
- func NameIn(vs ...string) predicate.Hustler
- func NameIsNil() predicate.Hustler
- func NameLT(v string) predicate.Hustler
- func NameLTE(v string) predicate.Hustler
- func NameNEQ(v string) predicate.Hustler
- func NameNotIn(vs ...string) predicate.Hustler
- func NameNotNil() predicate.Hustler
- func Not(p predicate.Hustler) predicate.Hustler
- func Or(predicates ...predicate.Hustler) predicate.Hustler
- func SexEQ(v Sex) predicate.Hustler
- func SexIn(vs ...Sex) predicate.Hustler
- func SexNEQ(v Sex) predicate.Hustler
- func SexNotIn(vs ...Sex) predicate.Hustler
- func SexValidator(s Sex) error
- func Svg(v string) predicate.Hustler
- func SvgContains(v string) predicate.Hustler
- func SvgContainsFold(v string) predicate.Hustler
- func SvgEQ(v string) predicate.Hustler
- func SvgEqualFold(v string) predicate.Hustler
- func SvgGT(v string) predicate.Hustler
- func SvgGTE(v string) predicate.Hustler
- func SvgHasPrefix(v string) predicate.Hustler
- func SvgHasSuffix(v string) predicate.Hustler
- func SvgIn(vs ...string) predicate.Hustler
- func SvgIsNil() predicate.Hustler
- func SvgLT(v string) predicate.Hustler
- func SvgLTE(v string) predicate.Hustler
- func SvgNEQ(v string) predicate.Hustler
- func SvgNotIn(vs ...string) predicate.Hustler
- func SvgNotNil() predicate.Hustler
- func Title(v string) predicate.Hustler
- func TitleContains(v string) predicate.Hustler
- func TitleContainsFold(v string) predicate.Hustler
- func TitleEQ(v string) predicate.Hustler
- func TitleEqualFold(v string) predicate.Hustler
- func TitleGT(v string) predicate.Hustler
- func TitleGTE(v string) predicate.Hustler
- func TitleHasPrefix(v string) predicate.Hustler
- func TitleHasSuffix(v string) predicate.Hustler
- func TitleIn(vs ...string) predicate.Hustler
- func TitleIsNil() predicate.Hustler
- func TitleLT(v string) predicate.Hustler
- func TitleLTE(v string) predicate.Hustler
- func TitleNEQ(v string) predicate.Hustler
- func TitleNotIn(vs ...string) predicate.Hustler
- func TitleNotNil() predicate.Hustler
- func TypeEQ(v Type) predicate.Hustler
- func TypeIn(vs ...Type) predicate.Hustler
- func TypeNEQ(v Type) predicate.Hustler
- func TypeNotIn(vs ...Type) predicate.Hustler
- func TypeValidator(_type Type) error
- func ValidColumn(column string) bool
- type Sex
- type Type
Constants ¶
const ( // Label holds the string label denoting the hustler type in the database. Label = "hustler" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldTitle holds the string denoting the title field in the database. FieldTitle = "title" // FieldColor holds the string denoting the color field in the database. FieldColor = "color" // FieldBackground holds the string denoting the background field in the database. FieldBackground = "background" // FieldAge holds the string denoting the age field in the database. FieldAge = "age" // FieldSex holds the string denoting the sex field in the database. FieldSex = "sex" // FieldViewbox holds the string denoting the viewbox field in the database. FieldViewbox = "viewbox" // FieldOrder holds the string denoting the order field in the database. FieldOrder = "order" // FieldSvg holds the string denoting the svg field in the database. FieldSvg = "svg" // FieldCreatedAt holds the string denoting the created_at field in the database. FieldCreatedAt = "created_at" // EdgeWallet holds the string denoting the wallet edge name in mutations. EdgeWallet = "wallet" // EdgeWeapon holds the string denoting the weapon edge name in mutations. EdgeWeapon = "weapon" // EdgeClothes holds the string denoting the clothes edge name in mutations. EdgeClothes = "clothes" // EdgeVehicle holds the string denoting the vehicle edge name in mutations. EdgeVehicle = "vehicle" // EdgeWaist holds the string denoting the waist edge name in mutations. EdgeWaist = "waist" // EdgeFoot holds the string denoting the foot edge name in mutations. EdgeFoot = "foot" // EdgeHand holds the string denoting the hand edge name in mutations. EdgeHand = "hand" // EdgeDrug holds the string denoting the drug edge name in mutations. EdgeDrug = "drug" // EdgeNeck holds the string denoting the neck edge name in mutations. EdgeNeck = "neck" // EdgeRing holds the string denoting the ring edge name in mutations. EdgeRing = "ring" // EdgeAccessory holds the string denoting the accessory edge name in mutations. EdgeAccessory = "accessory" // EdgeBody holds the string denoting the body edge name in mutations. EdgeBody = "body" // EdgeHair holds the string denoting the hair edge name in mutations. EdgeHair = "hair" // EdgeBeard holds the string denoting the beard edge name in mutations. EdgeBeard = "beard" // EdgeIndex holds the string denoting the index edge name in mutations. EdgeIndex = "index" // Table holds the table name of the hustler in the database. Table = "hustlers" // WalletTable is the table that holds the wallet relation/edge. WalletTable = "hustlers" // WalletInverseTable is the table name for the Wallet entity. // It exists in this package in order to avoid circular dependency with the "wallet" package. WalletInverseTable = "wallets" // WalletColumn is the table column denoting the wallet relation/edge. WalletColumn = "wallet_hustlers" // WeaponTable is the table that holds the weapon relation/edge. WeaponTable = "hustlers" // WeaponInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. WeaponInverseTable = "items" // WeaponColumn is the table column denoting the weapon relation/edge. WeaponColumn = "item_hustler_weapons" // ClothesTable is the table that holds the clothes relation/edge. ClothesTable = "hustlers" // ClothesInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. ClothesInverseTable = "items" // ClothesColumn is the table column denoting the clothes relation/edge. ClothesColumn = "item_hustler_clothes" // VehicleTable is the table that holds the vehicle relation/edge. VehicleTable = "hustlers" // VehicleInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. VehicleInverseTable = "items" // VehicleColumn is the table column denoting the vehicle relation/edge. VehicleColumn = "item_hustler_vehicles" // WaistTable is the table that holds the waist relation/edge. WaistTable = "hustlers" // WaistInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. WaistInverseTable = "items" // WaistColumn is the table column denoting the waist relation/edge. WaistColumn = "item_hustler_waists" // FootTable is the table that holds the foot relation/edge. FootTable = "hustlers" // FootInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. FootInverseTable = "items" // FootColumn is the table column denoting the foot relation/edge. FootColumn = "item_hustler_feet" // HandTable is the table that holds the hand relation/edge. HandTable = "hustlers" // HandInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. HandInverseTable = "items" // HandColumn is the table column denoting the hand relation/edge. HandColumn = "item_hustler_hands" // DrugTable is the table that holds the drug relation/edge. DrugTable = "hustlers" // DrugInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. DrugInverseTable = "items" // DrugColumn is the table column denoting the drug relation/edge. DrugColumn = "item_hustler_drugs" // NeckTable is the table that holds the neck relation/edge. NeckTable = "hustlers" // NeckInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. NeckInverseTable = "items" // NeckColumn is the table column denoting the neck relation/edge. NeckColumn = "item_hustler_necks" // RingTable is the table that holds the ring relation/edge. RingTable = "hustlers" // RingInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. RingInverseTable = "items" // RingColumn is the table column denoting the ring relation/edge. RingColumn = "item_hustler_rings" // AccessoryTable is the table that holds the accessory relation/edge. AccessoryTable = "hustlers" // AccessoryInverseTable is the table name for the Item entity. // It exists in this package in order to avoid circular dependency with the "item" package. AccessoryInverseTable = "items" // AccessoryColumn is the table column denoting the accessory relation/edge. AccessoryColumn = "item_hustler_accessories" // BodyTable is the table that holds the body relation/edge. BodyTable = "hustlers" // BodyInverseTable is the table name for the BodyPart entity. // It exists in this package in order to avoid circular dependency with the "bodypart" package. BodyInverseTable = "body_parts" // BodyColumn is the table column denoting the body relation/edge. BodyColumn = "body_part_hustler_bodies" // HairTable is the table that holds the hair relation/edge. HairTable = "hustlers" // HairInverseTable is the table name for the BodyPart entity. // It exists in this package in order to avoid circular dependency with the "bodypart" package. HairInverseTable = "body_parts" // HairColumn is the table column denoting the hair relation/edge. HairColumn = "body_part_hustler_hairs" // BeardTable is the table that holds the beard relation/edge. BeardTable = "hustlers" // BeardInverseTable is the table name for the BodyPart entity. // It exists in this package in order to avoid circular dependency with the "bodypart" package. BeardInverseTable = "body_parts" // BeardColumn is the table column denoting the beard relation/edge. BeardColumn = "body_part_hustler_beards" // IndexTable is the table that holds the index relation/edge. IndexTable = "search_index" // IndexInverseTable is the table name for the Search entity. // It exists in this package in order to avoid circular dependency with the "search" package. IndexInverseTable = "search_index" // IndexColumn is the table column denoting the index relation/edge. IndexColumn = "hustler_index" )
const DefaultSex = SexMALE
SexMALE is the default value of the Sex enum.
Variables ¶
var ( // DefaultViewbox holds the default value on creation for the "viewbox" field. DefaultViewbox []int // DefaultOrder holds the default value on creation for the "order" field. DefaultOrder []int // DefaultCreatedAt holds the default value on creation for the "created_at" field. DefaultCreatedAt func() time.Time )
var Columns = []string{ FieldID, FieldType, FieldName, FieldTitle, FieldColor, FieldBackground, FieldAge, FieldSex, FieldViewbox, FieldOrder, FieldSvg, FieldCreatedAt, }
Columns holds all SQL columns for hustler fields.
var ForeignKeys = []string{
"body_part_hustler_bodies",
"body_part_hustler_hairs",
"body_part_hustler_beards",
"item_hustler_weapons",
"item_hustler_clothes",
"item_hustler_vehicles",
"item_hustler_waists",
"item_hustler_feet",
"item_hustler_hands",
"item_hustler_drugs",
"item_hustler_necks",
"item_hustler_rings",
"item_hustler_accessories",
"wallet_hustlers",
}
ForeignKeys holds the SQL foreign-keys that are owned by the "hustlers" table and are not defined as standalone fields in the schema.
Functions ¶
func Background ¶
Background applies equality check predicate on the "background" field. It's identical to BackgroundEQ.
func BackgroundContains ¶
BackgroundContains applies the Contains predicate on the "background" field.
func BackgroundContainsFold ¶
BackgroundContainsFold applies the ContainsFold predicate on the "background" field.
func BackgroundEQ ¶
BackgroundEQ applies the EQ predicate on the "background" field.
func BackgroundEqualFold ¶
BackgroundEqualFold applies the EqualFold predicate on the "background" field.
func BackgroundGT ¶
BackgroundGT applies the GT predicate on the "background" field.
func BackgroundGTE ¶
BackgroundGTE applies the GTE predicate on the "background" field.
func BackgroundHasPrefix ¶
BackgroundHasPrefix applies the HasPrefix predicate on the "background" field.
func BackgroundHasSuffix ¶
BackgroundHasSuffix applies the HasSuffix predicate on the "background" field.
func BackgroundIn ¶
BackgroundIn applies the In predicate on the "background" field.
func BackgroundIsNil ¶
BackgroundIsNil applies the IsNil predicate on the "background" field.
func BackgroundLT ¶
BackgroundLT applies the LT predicate on the "background" field.
func BackgroundLTE ¶
BackgroundLTE applies the LTE predicate on the "background" field.
func BackgroundNEQ ¶
BackgroundNEQ applies the NEQ predicate on the "background" field.
func BackgroundNotIn ¶
BackgroundNotIn applies the NotIn predicate on the "background" field.
func BackgroundNotNil ¶
BackgroundNotNil applies the NotNil predicate on the "background" field.
func Color ¶
Color applies equality check predicate on the "color" field. It's identical to ColorEQ.
func ColorContains ¶
ColorContains applies the Contains predicate on the "color" field.
func ColorContainsFold ¶
ColorContainsFold applies the ContainsFold predicate on the "color" field.
func ColorEqualFold ¶
ColorEqualFold applies the EqualFold predicate on the "color" field.
func ColorHasPrefix ¶
ColorHasPrefix applies the HasPrefix predicate on the "color" field.
func ColorHasSuffix ¶
ColorHasSuffix applies the HasSuffix predicate on the "color" field.
func ColorIsNil ¶
ColorIsNil applies the IsNil predicate on the "color" field.
func ColorNotIn ¶
ColorNotIn applies the NotIn predicate on the "color" field.
func ColorNotNil ¶
ColorNotNil applies the NotNil predicate on the "color" field.
func CreatedAt ¶
CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
func CreatedAtEQ ¶
CreatedAtEQ applies the EQ predicate on the "created_at" field.
func CreatedAtGT ¶
CreatedAtGT applies the GT predicate on the "created_at" field.
func CreatedAtGTE ¶
CreatedAtGTE applies the GTE predicate on the "created_at" field.
func CreatedAtIn ¶
CreatedAtIn applies the In predicate on the "created_at" field.
func CreatedAtLT ¶
CreatedAtLT applies the LT predicate on the "created_at" field.
func CreatedAtLTE ¶
CreatedAtLTE applies the LTE predicate on the "created_at" field.
func CreatedAtNEQ ¶
CreatedAtNEQ applies the NEQ predicate on the "created_at" field.
func CreatedAtNotIn ¶
CreatedAtNotIn applies the NotIn predicate on the "created_at" field.
func HasAccessory ¶
HasAccessory applies the HasEdge predicate on the "accessory" edge.
func HasAccessoryWith ¶
HasAccessoryWith applies the HasEdge predicate on the "accessory" edge with a given conditions (other predicates).
func HasBeardWith ¶
HasBeardWith applies the HasEdge predicate on the "beard" edge with a given conditions (other predicates).
func HasBodyWith ¶
HasBodyWith applies the HasEdge predicate on the "body" edge with a given conditions (other predicates).
func HasClothes ¶
HasClothes applies the HasEdge predicate on the "clothes" edge.
func HasClothesWith ¶
HasClothesWith applies the HasEdge predicate on the "clothes" edge with a given conditions (other predicates).
func HasDrugWith ¶
HasDrugWith applies the HasEdge predicate on the "drug" edge with a given conditions (other predicates).
func HasFootWith ¶
HasFootWith applies the HasEdge predicate on the "foot" edge with a given conditions (other predicates).
func HasHairWith ¶
HasHairWith applies the HasEdge predicate on the "hair" edge with a given conditions (other predicates).
func HasHandWith ¶
HasHandWith applies the HasEdge predicate on the "hand" edge with a given conditions (other predicates).
func HasIndexWith ¶
HasIndexWith applies the HasEdge predicate on the "index" edge with a given conditions (other predicates).
func HasNeckWith ¶
HasNeckWith applies the HasEdge predicate on the "neck" edge with a given conditions (other predicates).
func HasRingWith ¶
HasRingWith applies the HasEdge predicate on the "ring" edge with a given conditions (other predicates).
func HasVehicle ¶
HasVehicle applies the HasEdge predicate on the "vehicle" edge.
func HasVehicleWith ¶
HasVehicleWith applies the HasEdge predicate on the "vehicle" edge with a given conditions (other predicates).
func HasWaistWith ¶
HasWaistWith applies the HasEdge predicate on the "waist" edge with a given conditions (other predicates).
func HasWalletWith ¶
HasWalletWith applies the HasEdge predicate on the "wallet" edge with a given conditions (other predicates).
func HasWeaponWith ¶
HasWeaponWith applies the HasEdge predicate on the "weapon" edge with a given conditions (other predicates).
func NameContains ¶
NameContains applies the Contains predicate on the "name" field.
func NameContainsFold ¶
NameContainsFold applies the ContainsFold predicate on the "name" field.
func NameEqualFold ¶
NameEqualFold applies the EqualFold predicate on the "name" field.
func NameHasPrefix ¶
NameHasPrefix applies the HasPrefix predicate on the "name" field.
func NameHasSuffix ¶
NameHasSuffix applies the HasSuffix predicate on the "name" field.
func NameNotNil ¶
NameNotNil applies the NotNil predicate on the "name" field.
func SexValidator ¶
SexValidator is a validator for the "sex" field enum values. It is called by the builders before save.
func SvgContains ¶
SvgContains applies the Contains predicate on the "svg" field.
func SvgContainsFold ¶
SvgContainsFold applies the ContainsFold predicate on the "svg" field.
func SvgEqualFold ¶
SvgEqualFold applies the EqualFold predicate on the "svg" field.
func SvgHasPrefix ¶
SvgHasPrefix applies the HasPrefix predicate on the "svg" field.
func SvgHasSuffix ¶
SvgHasSuffix applies the HasSuffix predicate on the "svg" field.
func Title ¶
Title applies equality check predicate on the "title" field. It's identical to TitleEQ.
func TitleContains ¶
TitleContains applies the Contains predicate on the "title" field.
func TitleContainsFold ¶
TitleContainsFold applies the ContainsFold predicate on the "title" field.
func TitleEqualFold ¶
TitleEqualFold applies the EqualFold predicate on the "title" field.
func TitleHasPrefix ¶
TitleHasPrefix applies the HasPrefix predicate on the "title" field.
func TitleHasSuffix ¶
TitleHasSuffix applies the HasSuffix predicate on the "title" field.
func TitleIsNil ¶
TitleIsNil applies the IsNil predicate on the "title" field.
func TitleNotIn ¶
TitleNotIn applies the NotIn predicate on the "title" field.
func TitleNotNil ¶
TitleNotNil applies the NotNil predicate on the "title" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
type Sex ¶
type Sex string
Sex defines the type for the "sex" enum field.
func (Sex) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Sex) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.
type Type ¶
type Type string
Type defines the type for the "type" enum field.
func (Type) MarshalGQL ¶
MarshalGQL implements graphql.Marshaler interface.
func (*Type) UnmarshalGQL ¶
UnmarshalGQL implements graphql.Unmarshaler interface.