Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User) predicate.User
- func AvatarURL(v string) predicate.User
- func AvatarURLContains(v string) predicate.User
- func AvatarURLContainsFold(v string) predicate.User
- func AvatarURLEQ(v string) predicate.User
- func AvatarURLEqualFold(v string) predicate.User
- func AvatarURLGT(v string) predicate.User
- func AvatarURLGTE(v string) predicate.User
- func AvatarURLHasPrefix(v string) predicate.User
- func AvatarURLHasSuffix(v string) predicate.User
- func AvatarURLIn(vs ...string) predicate.User
- func AvatarURLLT(v string) predicate.User
- func AvatarURLLTE(v string) predicate.User
- func AvatarURLNEQ(v string) predicate.User
- func AvatarURLNotIn(vs ...string) predicate.User
- func GithubID(v int64) predicate.User
- func GithubIDEQ(v int64) predicate.User
- func GithubIDGT(v int64) predicate.User
- func GithubIDGTE(v int64) predicate.User
- func GithubIDIn(vs ...int64) predicate.User
- func GithubIDLT(v int64) predicate.User
- func GithubIDLTE(v int64) predicate.User
- func GithubIDNEQ(v int64) predicate.User
- func GithubIDNotIn(vs ...int64) predicate.User
- func HasEditedStatus() predicate.User
- func HasEditedStatusWith(preds ...predicate.VulnStatus) predicate.User
- func ID(id int) predicate.User
- func IDEQ(id int) predicate.User
- func IDGT(id int) predicate.User
- func IDGTE(id int) predicate.User
- func IDIn(ids ...int) predicate.User
- func IDLT(id int) predicate.User
- func IDLTE(id int) predicate.User
- func IDNEQ(id int) predicate.User
- func IDNotIn(ids ...int) predicate.User
- func Login(v string) predicate.User
- func LoginContains(v string) predicate.User
- func LoginContainsFold(v string) predicate.User
- func LoginEQ(v string) predicate.User
- func LoginEqualFold(v string) predicate.User
- func LoginGT(v string) predicate.User
- func LoginGTE(v string) predicate.User
- func LoginHasPrefix(v string) predicate.User
- func LoginHasSuffix(v string) predicate.User
- func LoginIn(vs ...string) predicate.User
- func LoginLT(v string) predicate.User
- func LoginLTE(v string) predicate.User
- func LoginNEQ(v string) predicate.User
- func LoginNotIn(vs ...string) predicate.User
- func Name(v string) predicate.User
- func NameContains(v string) predicate.User
- func NameContainsFold(v string) predicate.User
- func NameEQ(v string) predicate.User
- func NameEqualFold(v string) predicate.User
- func NameGT(v string) predicate.User
- func NameGTE(v string) predicate.User
- func NameHasPrefix(v string) predicate.User
- func NameHasSuffix(v string) predicate.User
- func NameIn(vs ...string) predicate.User
- func NameLT(v string) predicate.User
- func NameLTE(v string) predicate.User
- func NameNEQ(v string) predicate.User
- func NameNotIn(vs ...string) predicate.User
- func Not(p predicate.User) predicate.User
- func Or(predicates ...predicate.User) predicate.User
- func URL(v string) predicate.User
- func URLContains(v string) predicate.User
- func URLContainsFold(v string) predicate.User
- func URLEQ(v string) predicate.User
- func URLEqualFold(v string) predicate.User
- func URLGT(v string) predicate.User
- func URLGTE(v string) predicate.User
- func URLHasPrefix(v string) predicate.User
- func URLHasSuffix(v string) predicate.User
- func URLIn(vs ...string) predicate.User
- func URLLT(v string) predicate.User
- func URLLTE(v string) predicate.User
- func URLNEQ(v string) predicate.User
- func URLNotIn(vs ...string) predicate.User
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user type in the database. Label = "user" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldGithubID holds the string denoting the github_id field in the database. FieldGithubID = "github_id" // FieldLogin holds the string denoting the login field in the database. FieldLogin = "login" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldAvatarURL holds the string denoting the avatar_url field in the database. FieldAvatarURL = "avatar_url" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // EdgeEditedStatus holds the string denoting the edited_status edge name in mutations. EdgeEditedStatus = "edited_status" // Table holds the table name of the user in the database. Table = "users" // EditedStatusTable is the table that holds the edited_status relation/edge. EditedStatusTable = "vuln_status" // EditedStatusInverseTable is the table name for the VulnStatus entity. // It exists in this package in order to avoid circular dependency with the "vulnstatus" package. EditedStatusInverseTable = "vuln_status" // EditedStatusColumn is the table column denoting the edited_status relation/edge. EditedStatusColumn = "user_edited_status" )
Variables ¶
var Columns = []string{ FieldID, FieldGithubID, FieldLogin, FieldName, FieldAvatarURL, FieldURL, }
Columns holds all SQL columns for user fields.
Functions ¶
func AvatarURL ¶
AvatarURL applies equality check predicate on the "avatar_url" field. It's identical to AvatarURLEQ.
func AvatarURLContains ¶
AvatarURLContains applies the Contains predicate on the "avatar_url" field.
func AvatarURLContainsFold ¶
AvatarURLContainsFold applies the ContainsFold predicate on the "avatar_url" field.
func AvatarURLEQ ¶
AvatarURLEQ applies the EQ predicate on the "avatar_url" field.
func AvatarURLEqualFold ¶
AvatarURLEqualFold applies the EqualFold predicate on the "avatar_url" field.
func AvatarURLGT ¶
AvatarURLGT applies the GT predicate on the "avatar_url" field.
func AvatarURLGTE ¶
AvatarURLGTE applies the GTE predicate on the "avatar_url" field.
func AvatarURLHasPrefix ¶
AvatarURLHasPrefix applies the HasPrefix predicate on the "avatar_url" field.
func AvatarURLHasSuffix ¶
AvatarURLHasSuffix applies the HasSuffix predicate on the "avatar_url" field.
func AvatarURLIn ¶
AvatarURLIn applies the In predicate on the "avatar_url" field.
func AvatarURLLT ¶
AvatarURLLT applies the LT predicate on the "avatar_url" field.
func AvatarURLLTE ¶
AvatarURLLTE applies the LTE predicate on the "avatar_url" field.
func AvatarURLNEQ ¶
AvatarURLNEQ applies the NEQ predicate on the "avatar_url" field.
func AvatarURLNotIn ¶
AvatarURLNotIn applies the NotIn predicate on the "avatar_url" field.
func GithubID ¶
GithubID applies equality check predicate on the "github_id" field. It's identical to GithubIDEQ.
func GithubIDEQ ¶
GithubIDEQ applies the EQ predicate on the "github_id" field.
func GithubIDGT ¶
GithubIDGT applies the GT predicate on the "github_id" field.
func GithubIDGTE ¶
GithubIDGTE applies the GTE predicate on the "github_id" field.
func GithubIDIn ¶
GithubIDIn applies the In predicate on the "github_id" field.
func GithubIDLT ¶
GithubIDLT applies the LT predicate on the "github_id" field.
func GithubIDLTE ¶
GithubIDLTE applies the LTE predicate on the "github_id" field.
func GithubIDNEQ ¶
GithubIDNEQ applies the NEQ predicate on the "github_id" field.
func GithubIDNotIn ¶
GithubIDNotIn applies the NotIn predicate on the "github_id" field.
func HasEditedStatus ¶
HasEditedStatus applies the HasEdge predicate on the "edited_status" edge.
func HasEditedStatusWith ¶
func HasEditedStatusWith(preds ...predicate.VulnStatus) predicate.User
HasEditedStatusWith applies the HasEdge predicate on the "edited_status" edge with a given conditions (other predicates).
func Login ¶
Login applies equality check predicate on the "login" field. It's identical to LoginEQ.
func LoginContains ¶
LoginContains applies the Contains predicate on the "login" field.
func LoginContainsFold ¶
LoginContainsFold applies the ContainsFold predicate on the "login" field.
func LoginEqualFold ¶
LoginEqualFold applies the EqualFold predicate on the "login" field.
func LoginHasPrefix ¶
LoginHasPrefix applies the HasPrefix predicate on the "login" field.
func LoginHasSuffix ¶
LoginHasSuffix applies the HasSuffix predicate on the "login" field.
func LoginNotIn ¶
LoginNotIn applies the NotIn predicate on the "login" field.
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 URLContains ¶
URLContains applies the Contains predicate on the "url" field.
func URLContainsFold ¶
URLContainsFold applies the ContainsFold predicate on the "url" field.
func URLEqualFold ¶
URLEqualFold applies the EqualFold predicate on the "url" field.
func URLHasPrefix ¶
URLHasPrefix applies the HasPrefix predicate on the "url" field.
func URLHasSuffix ¶
URLHasSuffix applies the HasSuffix predicate on the "url" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.