Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.User_info) predicate.User_info
- func ID(id int) predicate.User_info
- func IDEQ(id int) predicate.User_info
- func IDGT(id int) predicate.User_info
- func IDGTE(id int) predicate.User_info
- func IDIn(ids ...int) predicate.User_info
- func IDLT(id int) predicate.User_info
- func IDLTE(id int) predicate.User_info
- func IDNEQ(id int) predicate.User_info
- func IDNotIn(ids ...int) predicate.User_info
- func Not(p predicate.User_info) predicate.User_info
- func Or(predicates ...predicate.User_info) predicate.User_info
- func PasswdHash(v string) predicate.User_info
- func PasswdHashContains(v string) predicate.User_info
- func PasswdHashContainsFold(v string) predicate.User_info
- func PasswdHashEQ(v string) predicate.User_info
- func PasswdHashEqualFold(v string) predicate.User_info
- func PasswdHashGT(v string) predicate.User_info
- func PasswdHashGTE(v string) predicate.User_info
- func PasswdHashHasPrefix(v string) predicate.User_info
- func PasswdHashHasSuffix(v string) predicate.User_info
- func PasswdHashIn(vs ...string) predicate.User_info
- func PasswdHashLT(v string) predicate.User_info
- func PasswdHashLTE(v string) predicate.User_info
- func PasswdHashNEQ(v string) predicate.User_info
- func PasswdHashNotIn(vs ...string) predicate.User_info
- func Salt(v string) predicate.User_info
- func SaltContains(v string) predicate.User_info
- func SaltContainsFold(v string) predicate.User_info
- func SaltEQ(v string) predicate.User_info
- func SaltEqualFold(v string) predicate.User_info
- func SaltGT(v string) predicate.User_info
- func SaltGTE(v string) predicate.User_info
- func SaltHasPrefix(v string) predicate.User_info
- func SaltHasSuffix(v string) predicate.User_info
- func SaltIn(vs ...string) predicate.User_info
- func SaltLT(v string) predicate.User_info
- func SaltLTE(v string) predicate.User_info
- func SaltNEQ(v string) predicate.User_info
- func SaltNotIn(vs ...string) predicate.User_info
- func UserName(v string) predicate.User_info
- func UserNameContains(v string) predicate.User_info
- func UserNameContainsFold(v string) predicate.User_info
- func UserNameEQ(v string) predicate.User_info
- func UserNameEqualFold(v string) predicate.User_info
- func UserNameGT(v string) predicate.User_info
- func UserNameGTE(v string) predicate.User_info
- func UserNameHasPrefix(v string) predicate.User_info
- func UserNameHasSuffix(v string) predicate.User_info
- func UserNameIn(vs ...string) predicate.User_info
- func UserNameLT(v string) predicate.User_info
- func UserNameLTE(v string) predicate.User_info
- func UserNameNEQ(v string) predicate.User_info
- func UserNameNotIn(vs ...string) predicate.User_info
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the user_info type in the database. Label = "user_info" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserName holds the string denoting the user_name field in the database. FieldUserName = "user_name" // FieldSalt holds the string denoting the salt field in the database. FieldSalt = "salt" // FieldPasswdHash holds the string denoting the passwd_hash field in the database. FieldPasswdHash = "passwd_hash" // Table holds the table name of the user_info in the database. Table = "user_infos" )
Variables ¶
var ( // UserNameValidator is a validator for the "user_name" field. It is called by the builders before save. UserNameValidator func(string) error // SaltValidator is a validator for the "salt" field. It is called by the builders before save. SaltValidator func(string) error // PasswdHashValidator is a validator for the "passwd_hash" field. It is called by the builders before save. PasswdHashValidator func(string) error )
var Columns = []string{ FieldID, FieldUserName, FieldSalt, FieldPasswdHash, }
Columns holds all SQL columns for user_info fields.
Functions ¶
func PasswdHash ¶
PasswdHash applies equality check predicate on the "passwd_hash" field. It's identical to PasswdHashEQ.
func PasswdHashContains ¶
PasswdHashContains applies the Contains predicate on the "passwd_hash" field.
func PasswdHashContainsFold ¶
PasswdHashContainsFold applies the ContainsFold predicate on the "passwd_hash" field.
func PasswdHashEQ ¶
PasswdHashEQ applies the EQ predicate on the "passwd_hash" field.
func PasswdHashEqualFold ¶
PasswdHashEqualFold applies the EqualFold predicate on the "passwd_hash" field.
func PasswdHashGT ¶
PasswdHashGT applies the GT predicate on the "passwd_hash" field.
func PasswdHashGTE ¶
PasswdHashGTE applies the GTE predicate on the "passwd_hash" field.
func PasswdHashHasPrefix ¶
PasswdHashHasPrefix applies the HasPrefix predicate on the "passwd_hash" field.
func PasswdHashHasSuffix ¶
PasswdHashHasSuffix applies the HasSuffix predicate on the "passwd_hash" field.
func PasswdHashIn ¶
PasswdHashIn applies the In predicate on the "passwd_hash" field.
func PasswdHashLT ¶
PasswdHashLT applies the LT predicate on the "passwd_hash" field.
func PasswdHashLTE ¶
PasswdHashLTE applies the LTE predicate on the "passwd_hash" field.
func PasswdHashNEQ ¶
PasswdHashNEQ applies the NEQ predicate on the "passwd_hash" field.
func PasswdHashNotIn ¶
PasswdHashNotIn applies the NotIn predicate on the "passwd_hash" field.
func SaltContains ¶
SaltContains applies the Contains predicate on the "salt" field.
func SaltContainsFold ¶
SaltContainsFold applies the ContainsFold predicate on the "salt" field.
func SaltEqualFold ¶
SaltEqualFold applies the EqualFold predicate on the "salt" field.
func SaltHasPrefix ¶
SaltHasPrefix applies the HasPrefix predicate on the "salt" field.
func SaltHasSuffix ¶
SaltHasSuffix applies the HasSuffix predicate on the "salt" field.
func UserName ¶
UserName applies equality check predicate on the "user_name" field. It's identical to UserNameEQ.
func UserNameContains ¶
UserNameContains applies the Contains predicate on the "user_name" field.
func UserNameContainsFold ¶
UserNameContainsFold applies the ContainsFold predicate on the "user_name" field.
func UserNameEQ ¶
UserNameEQ applies the EQ predicate on the "user_name" field.
func UserNameEqualFold ¶
UserNameEqualFold applies the EqualFold predicate on the "user_name" field.
func UserNameGT ¶
UserNameGT applies the GT predicate on the "user_name" field.
func UserNameGTE ¶
UserNameGTE applies the GTE predicate on the "user_name" field.
func UserNameHasPrefix ¶
UserNameHasPrefix applies the HasPrefix predicate on the "user_name" field.
func UserNameHasSuffix ¶
UserNameHasSuffix applies the HasSuffix predicate on the "user_name" field.
func UserNameIn ¶
UserNameIn applies the In predicate on the "user_name" field.
func UserNameLT ¶
UserNameLT applies the LT predicate on the "user_name" field.
func UserNameLTE ¶
UserNameLTE applies the LTE predicate on the "user_name" field.
func UserNameNEQ ¶
UserNameNEQ applies the NEQ predicate on the "user_name" field.
func UserNameNotIn ¶
UserNameNotIn applies the NotIn predicate on the "user_name" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.