Documentation
¶
Index ¶
- Constants
- Variables
- func Address(v string) predicate.Group
- func AddressContains(v string) predicate.Group
- func AddressContainsFold(v string) predicate.Group
- func AddressEQ(v string) predicate.Group
- func AddressEqualFold(v string) predicate.Group
- func AddressGT(v string) predicate.Group
- func AddressGTE(v string) predicate.Group
- func AddressHasPrefix(v string) predicate.Group
- func AddressHasSuffix(v string) predicate.Group
- func AddressIn(vs ...string) predicate.Group
- func AddressIsNil() predicate.Group
- func AddressLT(v string) predicate.Group
- func AddressLTE(v string) predicate.Group
- func AddressNEQ(v string) predicate.Group
- func AddressNotIn(vs ...string) predicate.Group
- func AddressNotNil() predicate.Group
- func And(predicates ...predicate.Group) predicate.Group
- func AvatarURL(v string) predicate.Group
- func AvatarURLContains(v string) predicate.Group
- func AvatarURLContainsFold(v string) predicate.Group
- func AvatarURLEQ(v string) predicate.Group
- func AvatarURLEqualFold(v string) predicate.Group
- func AvatarURLGT(v string) predicate.Group
- func AvatarURLGTE(v string) predicate.Group
- func AvatarURLHasPrefix(v string) predicate.Group
- func AvatarURLHasSuffix(v string) predicate.Group
- func AvatarURLIn(vs ...string) predicate.Group
- func AvatarURLIsNil() predicate.Group
- func AvatarURLLT(v string) predicate.Group
- func AvatarURLLTE(v string) predicate.Group
- func AvatarURLNEQ(v string) predicate.Group
- func AvatarURLNotIn(vs ...string) predicate.Group
- func AvatarURLNotNil() predicate.Group
- func CreateTime(v time.Time) predicate.Group
- func CreateTimeEQ(v time.Time) predicate.Group
- func CreateTimeGT(v time.Time) predicate.Group
- func CreateTimeGTE(v time.Time) predicate.Group
- func CreateTimeIn(vs ...time.Time) predicate.Group
- func CreateTimeLT(v time.Time) predicate.Group
- func CreateTimeLTE(v time.Time) predicate.Group
- func CreateTimeNEQ(v time.Time) predicate.Group
- func CreateTimeNotIn(vs ...time.Time) predicate.Group
- func DeleteTime(v time.Time) predicate.Group
- func DeleteTimeEQ(v time.Time) predicate.Group
- func DeleteTimeGT(v time.Time) predicate.Group
- func DeleteTimeGTE(v time.Time) predicate.Group
- func DeleteTimeIn(vs ...time.Time) predicate.Group
- func DeleteTimeIsNil() predicate.Group
- func DeleteTimeLT(v time.Time) predicate.Group
- func DeleteTimeLTE(v time.Time) predicate.Group
- func DeleteTimeNEQ(v time.Time) predicate.Group
- func DeleteTimeNotIn(vs ...time.Time) predicate.Group
- func DeleteTimeNotNil() predicate.Group
- func Groupname(v string) predicate.Group
- func GroupnameContains(v string) predicate.Group
- func GroupnameContainsFold(v string) predicate.Group
- func GroupnameEQ(v string) predicate.Group
- func GroupnameEqualFold(v string) predicate.Group
- func GroupnameGT(v string) predicate.Group
- func GroupnameGTE(v string) predicate.Group
- func GroupnameHasPrefix(v string) predicate.Group
- func GroupnameHasSuffix(v string) predicate.Group
- func GroupnameIn(vs ...string) predicate.Group
- func GroupnameLT(v string) predicate.Group
- func GroupnameLTE(v string) predicate.Group
- func GroupnameNEQ(v string) predicate.Group
- func GroupnameNotIn(vs ...string) predicate.Group
- func Homepage(v string) predicate.Group
- func HomepageContains(v string) predicate.Group
- func HomepageContainsFold(v string) predicate.Group
- func HomepageEQ(v string) predicate.Group
- func HomepageEqualFold(v string) predicate.Group
- func HomepageGT(v string) predicate.Group
- func HomepageGTE(v string) predicate.Group
- func HomepageHasPrefix(v string) predicate.Group
- func HomepageHasSuffix(v string) predicate.Group
- func HomepageIn(vs ...string) predicate.Group
- func HomepageIsNil() predicate.Group
- func HomepageLT(v string) predicate.Group
- func HomepageLTE(v string) predicate.Group
- func HomepageNEQ(v string) predicate.Group
- func HomepageNotIn(vs ...string) predicate.Group
- func HomepageNotNil() predicate.Group
- func ID(id int) predicate.Group
- func IDEQ(id int) predicate.Group
- func IDGT(id int) predicate.Group
- func IDGTE(id int) predicate.Group
- func IDIn(ids ...int) predicate.Group
- func IDLT(id int) predicate.Group
- func IDLTE(id int) predicate.Group
- func IDNEQ(id int) predicate.Group
- func IDNotIn(ids ...int) predicate.Group
- func Not(p predicate.Group) predicate.Group
- func Or(predicates ...predicate.Group) predicate.Group
- func Sn(v string) predicate.Group
- func SnContains(v string) predicate.Group
- func SnContainsFold(v string) predicate.Group
- func SnEQ(v string) predicate.Group
- func SnEqualFold(v string) predicate.Group
- func SnGT(v string) predicate.Group
- func SnGTE(v string) predicate.Group
- func SnHasPrefix(v string) predicate.Group
- func SnHasSuffix(v string) predicate.Group
- func SnIn(vs ...string) predicate.Group
- func SnLT(v string) predicate.Group
- func SnLTE(v string) predicate.Group
- func SnNEQ(v string) predicate.Group
- func SnNotIn(vs ...string) predicate.Group
- func UpdateTime(v time.Time) predicate.Group
- func UpdateTimeEQ(v time.Time) predicate.Group
- func UpdateTimeGT(v time.Time) predicate.Group
- func UpdateTimeGTE(v time.Time) predicate.Group
- func UpdateTimeIn(vs ...time.Time) predicate.Group
- func UpdateTimeLT(v time.Time) predicate.Group
- func UpdateTimeLTE(v time.Time) predicate.Group
- func UpdateTimeNEQ(v time.Time) predicate.Group
- func UpdateTimeNotIn(vs ...time.Time) predicate.Group
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the group type in the database. Label = "group" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldSn holds the string denoting the sn field in the database. FieldSn = "sn" // FieldGroupname holds the string denoting the groupname field in the database. FieldGroupname = "groupname" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldAddress holds the string denoting the address field in the database. FieldAddress = "address" // FieldHomepage holds the string denoting the homepage field in the database. FieldHomepage = "homepage" // FieldCreateTime holds the string denoting the create_time field in the database. FieldCreateTime = "create_time" // FieldUpdateTime holds the string denoting the update_time field in the database. FieldUpdateTime = "update_time" // FieldDeleteTime holds the string denoting the delete_time field in the database. FieldDeleteTime = "delete_time" // Table holds the table name of the group in the database. Table = "group" )
Variables ¶
var ( // DefaultSn holds the default value on creation for the "sn" field. DefaultSn func() string // SnValidator is a validator for the "sn" field. It is called by the builders before save. SnValidator func(string) error // GroupnameValidator is a validator for the "groupname" field. It is called by the builders before save. GroupnameValidator func(string) error // AvatarURLValidator is a validator for the "avatar_url" field. It is called by the builders before save. AvatarURLValidator func(string) error // HomepageValidator is a validator for the "homepage" field. It is called by the builders before save. HomepageValidator func(string) error // DefaultCreateTime holds the default value on creation for the "create_time" field. DefaultCreateTime func() time.Time // DefaultUpdateTime holds the default value on creation for the "update_time" field. DefaultUpdateTime func() time.Time // UpdateDefaultUpdateTime holds the default value on update for the "update_time" field. UpdateDefaultUpdateTime func() time.Time )
var Columns = []string{ FieldID, FieldSn, FieldGroupname, FieldAvatarURL, FieldAddress, FieldHomepage, FieldCreateTime, FieldUpdateTime, FieldDeleteTime, }
Columns holds all SQL columns for group fields.
Functions ¶
func Address ¶
Address applies equality check predicate on the "address" field. It's identical to AddressEQ.
func AddressContains ¶
AddressContains applies the Contains predicate on the "address" field.
func AddressContainsFold ¶
AddressContainsFold applies the ContainsFold predicate on the "address" field.
func AddressEqualFold ¶
AddressEqualFold applies the EqualFold predicate on the "address" field.
func AddressGTE ¶
AddressGTE applies the GTE predicate on the "address" field.
func AddressHasPrefix ¶
AddressHasPrefix applies the HasPrefix predicate on the "address" field.
func AddressHasSuffix ¶
AddressHasSuffix applies the HasSuffix predicate on the "address" field.
func AddressIsNil ¶
AddressIsNil applies the IsNil predicate on the "address" field.
func AddressLTE ¶
AddressLTE applies the LTE predicate on the "address" field.
func AddressNEQ ¶
AddressNEQ applies the NEQ predicate on the "address" field.
func AddressNotIn ¶
AddressNotIn applies the NotIn predicate on the "address" field.
func AddressNotNil ¶
AddressNotNil applies the NotNil predicate on the "address" field.
func AvatarURL ¶ added in v1.0.6
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶ added in v1.0.6
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶ added in v1.0.6
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶ added in v1.0.6
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶ added in v1.0.6
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶ added in v1.0.6
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶ added in v1.0.6
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶ added in v1.0.6
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶ added in v1.0.6
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶ added in v1.0.6
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLIsNil ¶ added in v1.0.6
AvatarURLIsNil applies the IsNil predicate on the "avatar_url" field.
func AvatarURLLT ¶ added in v1.0.6
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶ added in v1.0.6
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶ added in v1.0.6
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶ added in v1.0.6
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func AvatarURLNotNil ¶ added in v1.0.6
AvatarURLNotNil applies the NotNil predicate on the "avatar_url" field.
func CreateTime ¶
CreateTime applies equality check predicate on the "create_time" field. It's identical to CreateTimeEQ.
func CreateTimeEQ ¶
CreateTimeEQ applies the EQ predicate on the "create_time" field.
func CreateTimeGT ¶
CreateTimeGT applies the GT predicate on the "create_time" field.
func CreateTimeGTE ¶
CreateTimeGTE applies the GTE predicate on the "create_time" field.
func CreateTimeIn ¶
CreateTimeIn applies the In predicate on the "create_time" field.
func CreateTimeLT ¶
CreateTimeLT applies the LT predicate on the "create_time" field.
func CreateTimeLTE ¶
CreateTimeLTE applies the LTE predicate on the "create_time" field.
func CreateTimeNEQ ¶
CreateTimeNEQ applies the NEQ predicate on the "create_time" field.
func CreateTimeNotIn ¶
CreateTimeNotIn applies the NotIn predicate on the "create_time" field.
func DeleteTime ¶
DeleteTime applies equality check predicate on the "delete_time" field. It's identical to DeleteTimeEQ.
func DeleteTimeEQ ¶
DeleteTimeEQ applies the EQ predicate on the "delete_time" field.
func DeleteTimeGT ¶
DeleteTimeGT applies the GT predicate on the "delete_time" field.
func DeleteTimeGTE ¶
DeleteTimeGTE applies the GTE predicate on the "delete_time" field.
func DeleteTimeIn ¶
DeleteTimeIn applies the In predicate on the "delete_time" field.
func DeleteTimeIsNil ¶
DeleteTimeIsNil applies the IsNil predicate on the "delete_time" field.
func DeleteTimeLT ¶
DeleteTimeLT applies the LT predicate on the "delete_time" field.
func DeleteTimeLTE ¶
DeleteTimeLTE applies the LTE predicate on the "delete_time" field.
func DeleteTimeNEQ ¶
DeleteTimeNEQ applies the NEQ predicate on the "delete_time" field.
func DeleteTimeNotIn ¶
DeleteTimeNotIn applies the NotIn predicate on the "delete_time" field.
func DeleteTimeNotNil ¶
DeleteTimeNotNil applies the NotNil predicate on the "delete_time" field.
func Groupname ¶
Groupname applies equality check predicate on the "groupname" field. It's identical to GroupnameEQ.
func GroupnameContains ¶
GroupnameContains applies the Contains predicate on the "groupname" field.
func GroupnameContainsFold ¶
GroupnameContainsFold applies the ContainsFold predicate on the "groupname" field.
func GroupnameEQ ¶
GroupnameEQ applies the EQ predicate on the "groupname" field.
func GroupnameEqualFold ¶
GroupnameEqualFold applies the EqualFold predicate on the "groupname" field.
func GroupnameGT ¶
GroupnameGT applies the GT predicate on the "groupname" field.
func GroupnameGTE ¶
GroupnameGTE applies the GTE predicate on the "groupname" field.
func GroupnameHasPrefix ¶
GroupnameHasPrefix applies the HasPrefix predicate on the "groupname" field.
func GroupnameHasSuffix ¶
GroupnameHasSuffix applies the HasSuffix predicate on the "groupname" field.
func GroupnameIn ¶
GroupnameIn applies the In predicate on the "groupname" field.
func GroupnameLT ¶
GroupnameLT applies the LT predicate on the "groupname" field.
func GroupnameLTE ¶
GroupnameLTE applies the LTE predicate on the "groupname" field.
func GroupnameNEQ ¶
GroupnameNEQ applies the NEQ predicate on the "groupname" field.
func GroupnameNotIn ¶
GroupnameNotIn applies the NotIn predicate on the "groupname" field.
func Homepage ¶
Homepage applies equality check predicate on the "homepage" field. It's identical to HomepageEQ.
func HomepageContains ¶
HomepageContains applies the Contains predicate on the "homepage" field.
func HomepageContainsFold ¶
HomepageContainsFold applies the ContainsFold predicate on the "homepage" field.
func HomepageEQ ¶
HomepageEQ applies the EQ predicate on the "homepage" field.
func HomepageEqualFold ¶
HomepageEqualFold applies the EqualFold predicate on the "homepage" field.
func HomepageGT ¶
HomepageGT applies the GT predicate on the "homepage" field.
func HomepageGTE ¶
HomepageGTE applies the GTE predicate on the "homepage" field.
func HomepageHasPrefix ¶
HomepageHasPrefix applies the HasPrefix predicate on the "homepage" field.
func HomepageHasSuffix ¶
HomepageHasSuffix applies the HasSuffix predicate on the "homepage" field.
func HomepageIn ¶
HomepageIn applies the In predicate on the "homepage" field.
func HomepageIsNil ¶
HomepageIsNil applies the IsNil predicate on the "homepage" field.
func HomepageLT ¶
HomepageLT applies the LT predicate on the "homepage" field.
func HomepageLTE ¶
HomepageLTE applies the LTE predicate on the "homepage" field.
func HomepageNEQ ¶
HomepageNEQ applies the NEQ predicate on the "homepage" field.
func HomepageNotIn ¶
HomepageNotIn applies the NotIn predicate on the "homepage" field.
func HomepageNotNil ¶
HomepageNotNil applies the NotNil predicate on the "homepage" field.
func SnContains ¶
SnContains applies the Contains predicate on the "sn" field.
func SnContainsFold ¶
SnContainsFold applies the ContainsFold predicate on the "sn" field.
func SnEqualFold ¶
SnEqualFold applies the EqualFold predicate on the "sn" field.
func SnHasPrefix ¶
SnHasPrefix applies the HasPrefix predicate on the "sn" field.
func SnHasSuffix ¶
SnHasSuffix applies the HasSuffix predicate on the "sn" field.
func UpdateTime ¶
UpdateTime applies equality check predicate on the "update_time" field. It's identical to UpdateTimeEQ.
func UpdateTimeEQ ¶
UpdateTimeEQ applies the EQ predicate on the "update_time" field.
func UpdateTimeGT ¶
UpdateTimeGT applies the GT predicate on the "update_time" field.
func UpdateTimeGTE ¶
UpdateTimeGTE applies the GTE predicate on the "update_time" field.
func UpdateTimeIn ¶
UpdateTimeIn applies the In predicate on the "update_time" field.
func UpdateTimeLT ¶
UpdateTimeLT applies the LT predicate on the "update_time" field.
func UpdateTimeLTE ¶
UpdateTimeLTE applies the LTE predicate on the "update_time" field.
func UpdateTimeNEQ ¶
UpdateTimeNEQ applies the NEQ predicate on the "update_time" field.
func UpdateTimeNotIn ¶
UpdateTimeNotIn applies the NotIn predicate on the "update_time" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.