Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Notice) predicate.Notice
- func Created(v time.Time) predicate.Notice
- func CreatedEQ(v time.Time) predicate.Notice
- func CreatedGT(v time.Time) predicate.Notice
- func CreatedGTE(v time.Time) predicate.Notice
- func CreatedIn(vs ...time.Time) predicate.Notice
- func CreatedLT(v time.Time) predicate.Notice
- func CreatedLTE(v time.Time) predicate.Notice
- func CreatedNEQ(v time.Time) predicate.Notice
- func CreatedNotIn(vs ...time.Time) predicate.Notice
- func DiscordWebhook(v string) predicate.Notice
- func DiscordWebhookContains(v string) predicate.Notice
- func DiscordWebhookContainsFold(v string) predicate.Notice
- func DiscordWebhookEQ(v string) predicate.Notice
- func DiscordWebhookEqualFold(v string) predicate.Notice
- func DiscordWebhookGT(v string) predicate.Notice
- func DiscordWebhookGTE(v string) predicate.Notice
- func DiscordWebhookHasPrefix(v string) predicate.Notice
- func DiscordWebhookHasSuffix(v string) predicate.Notice
- func DiscordWebhookIn(vs ...string) predicate.Notice
- func DiscordWebhookIsNil() predicate.Notice
- func DiscordWebhookLT(v string) predicate.Notice
- func DiscordWebhookLTE(v string) predicate.Notice
- func DiscordWebhookNEQ(v string) predicate.Notice
- func DiscordWebhookNotIn(vs ...string) predicate.Notice
- func DiscordWebhookNotNil() predicate.Notice
- func ID(id uint32) predicate.Notice
- func IDEQ(id uint32) predicate.Notice
- func IDGT(id uint32) predicate.Notice
- func IDGTE(id uint32) predicate.Notice
- func IDIn(ids ...uint32) predicate.Notice
- func IDLT(id uint32) predicate.Notice
- func IDLTE(id uint32) predicate.Notice
- func IDNEQ(id uint32) predicate.Notice
- func IDNotIn(ids ...uint32) predicate.Notice
- func Mail(v string) predicate.Notice
- func MailContains(v string) predicate.Notice
- func MailContainsFold(v string) predicate.Notice
- func MailEQ(v string) predicate.Notice
- func MailEqualFold(v string) predicate.Notice
- func MailGT(v string) predicate.Notice
- func MailGTE(v string) predicate.Notice
- func MailHasPrefix(v string) predicate.Notice
- func MailHasSuffix(v string) predicate.Notice
- func MailIn(vs ...string) predicate.Notice
- func MailIsNil() predicate.Notice
- func MailLT(v string) predicate.Notice
- func MailLTE(v string) predicate.Notice
- func MailNEQ(v string) predicate.Notice
- func MailNotIn(vs ...string) predicate.Notice
- func MailNotNil() predicate.Notice
- func Modified(v time.Time) predicate.Notice
- func ModifiedEQ(v time.Time) predicate.Notice
- func ModifiedGT(v time.Time) predicate.Notice
- func ModifiedGTE(v time.Time) predicate.Notice
- func ModifiedIn(vs ...time.Time) predicate.Notice
- func ModifiedLT(v time.Time) predicate.Notice
- func ModifiedLTE(v time.Time) predicate.Notice
- func ModifiedNEQ(v time.Time) predicate.Notice
- func ModifiedNotIn(vs ...time.Time) predicate.Notice
- func Not(p predicate.Notice) predicate.Notice
- func Or(predicates ...predicate.Notice) predicate.Notice
- func SlackWebhook(v string) predicate.Notice
- func SlackWebhookContains(v string) predicate.Notice
- func SlackWebhookContainsFold(v string) predicate.Notice
- func SlackWebhookEQ(v string) predicate.Notice
- func SlackWebhookEqualFold(v string) predicate.Notice
- func SlackWebhookGT(v string) predicate.Notice
- func SlackWebhookGTE(v string) predicate.Notice
- func SlackWebhookHasPrefix(v string) predicate.Notice
- func SlackWebhookHasSuffix(v string) predicate.Notice
- func SlackWebhookIn(vs ...string) predicate.Notice
- func SlackWebhookIsNil() predicate.Notice
- func SlackWebhookLT(v string) predicate.Notice
- func SlackWebhookLTE(v string) predicate.Notice
- func SlackWebhookNEQ(v string) predicate.Notice
- func SlackWebhookNotIn(vs ...string) predicate.Notice
- func SlackWebhookNotNil() predicate.Notice
- func UserID(v uint32) predicate.Notice
- func UserIDEQ(v uint32) predicate.Notice
- func UserIDGT(v uint32) predicate.Notice
- func UserIDGTE(v uint32) predicate.Notice
- func UserIDIn(vs ...uint32) predicate.Notice
- func UserIDLT(v uint32) predicate.Notice
- func UserIDLTE(v uint32) predicate.Notice
- func UserIDNEQ(v uint32) predicate.Notice
- func UserIDNotIn(vs ...uint32) predicate.Notice
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the notice type in the database. Label = "notice" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldUserID holds the string denoting the user_id field in the database. FieldUserID = "user_id" // FieldDiscordWebhook holds the string denoting the discord_webhook field in the database. FieldDiscordWebhook = "discord_webhook" // FieldSlackWebhook holds the string denoting the slack_webhook field in the database. FieldSlackWebhook = "slack_webhook" // FieldMail holds the string denoting the mail field in the database. FieldMail = "mail" // FieldCreated holds the string denoting the created field in the database. FieldCreated = "created" // FieldModified holds the string denoting the modified field in the database. FieldModified = "modified" // Table holds the table name of the notice in the database. Table = "notices" )
Variables ¶
var ( // DefaultCreated holds the default value on creation for the "created" field. DefaultCreated func() time.Time // DefaultModified holds the default value on creation for the "modified" field. DefaultModified func() time.Time // UpdateDefaultModified holds the default value on update for the "modified" field. UpdateDefaultModified func() time.Time )
var Columns = []string{ FieldID, FieldUserID, FieldDiscordWebhook, FieldSlackWebhook, FieldMail, FieldCreated, FieldModified, }
Columns holds all SQL columns for notice fields.
Functions ¶
func Created ¶
Created applies equality check predicate on the "created" field. It's identical to CreatedEQ.
func CreatedGTE ¶
CreatedGTE applies the GTE predicate on the "created" field.
func CreatedLTE ¶
CreatedLTE applies the LTE predicate on the "created" field.
func CreatedNEQ ¶
CreatedNEQ applies the NEQ predicate on the "created" field.
func CreatedNotIn ¶
CreatedNotIn applies the NotIn predicate on the "created" field.
func DiscordWebhook ¶
DiscordWebhook applies equality check predicate on the "discord_webhook" field. It's identical to DiscordWebhookEQ.
func DiscordWebhookContains ¶
DiscordWebhookContains applies the Contains predicate on the "discord_webhook" field.
func DiscordWebhookContainsFold ¶
DiscordWebhookContainsFold applies the ContainsFold predicate on the "discord_webhook" field.
func DiscordWebhookEQ ¶
DiscordWebhookEQ applies the EQ predicate on the "discord_webhook" field.
func DiscordWebhookEqualFold ¶
DiscordWebhookEqualFold applies the EqualFold predicate on the "discord_webhook" field.
func DiscordWebhookGT ¶
DiscordWebhookGT applies the GT predicate on the "discord_webhook" field.
func DiscordWebhookGTE ¶
DiscordWebhookGTE applies the GTE predicate on the "discord_webhook" field.
func DiscordWebhookHasPrefix ¶
DiscordWebhookHasPrefix applies the HasPrefix predicate on the "discord_webhook" field.
func DiscordWebhookHasSuffix ¶
DiscordWebhookHasSuffix applies the HasSuffix predicate on the "discord_webhook" field.
func DiscordWebhookIn ¶
DiscordWebhookIn applies the In predicate on the "discord_webhook" field.
func DiscordWebhookIsNil ¶
DiscordWebhookIsNil applies the IsNil predicate on the "discord_webhook" field.
func DiscordWebhookLT ¶
DiscordWebhookLT applies the LT predicate on the "discord_webhook" field.
func DiscordWebhookLTE ¶
DiscordWebhookLTE applies the LTE predicate on the "discord_webhook" field.
func DiscordWebhookNEQ ¶
DiscordWebhookNEQ applies the NEQ predicate on the "discord_webhook" field.
func DiscordWebhookNotIn ¶
DiscordWebhookNotIn applies the NotIn predicate on the "discord_webhook" field.
func DiscordWebhookNotNil ¶
DiscordWebhookNotNil applies the NotNil predicate on the "discord_webhook" field.
func MailContains ¶
MailContains applies the Contains predicate on the "mail" field.
func MailContainsFold ¶
MailContainsFold applies the ContainsFold predicate on the "mail" field.
func MailEqualFold ¶
MailEqualFold applies the EqualFold predicate on the "mail" field.
func MailHasPrefix ¶
MailHasPrefix applies the HasPrefix predicate on the "mail" field.
func MailHasSuffix ¶
MailHasSuffix applies the HasSuffix predicate on the "mail" field.
func MailNotNil ¶
MailNotNil applies the NotNil predicate on the "mail" field.
func Modified ¶
Modified applies equality check predicate on the "modified" field. It's identical to ModifiedEQ.
func ModifiedEQ ¶
ModifiedEQ applies the EQ predicate on the "modified" field.
func ModifiedGT ¶
ModifiedGT applies the GT predicate on the "modified" field.
func ModifiedGTE ¶
ModifiedGTE applies the GTE predicate on the "modified" field.
func ModifiedIn ¶
ModifiedIn applies the In predicate on the "modified" field.
func ModifiedLT ¶
ModifiedLT applies the LT predicate on the "modified" field.
func ModifiedLTE ¶
ModifiedLTE applies the LTE predicate on the "modified" field.
func ModifiedNEQ ¶
ModifiedNEQ applies the NEQ predicate on the "modified" field.
func ModifiedNotIn ¶
ModifiedNotIn applies the NotIn predicate on the "modified" field.
func SlackWebhook ¶
SlackWebhook applies equality check predicate on the "slack_webhook" field. It's identical to SlackWebhookEQ.
func SlackWebhookContains ¶
SlackWebhookContains applies the Contains predicate on the "slack_webhook" field.
func SlackWebhookContainsFold ¶
SlackWebhookContainsFold applies the ContainsFold predicate on the "slack_webhook" field.
func SlackWebhookEQ ¶
SlackWebhookEQ applies the EQ predicate on the "slack_webhook" field.
func SlackWebhookEqualFold ¶
SlackWebhookEqualFold applies the EqualFold predicate on the "slack_webhook" field.
func SlackWebhookGT ¶
SlackWebhookGT applies the GT predicate on the "slack_webhook" field.
func SlackWebhookGTE ¶
SlackWebhookGTE applies the GTE predicate on the "slack_webhook" field.
func SlackWebhookHasPrefix ¶
SlackWebhookHasPrefix applies the HasPrefix predicate on the "slack_webhook" field.
func SlackWebhookHasSuffix ¶
SlackWebhookHasSuffix applies the HasSuffix predicate on the "slack_webhook" field.
func SlackWebhookIn ¶
SlackWebhookIn applies the In predicate on the "slack_webhook" field.
func SlackWebhookIsNil ¶
SlackWebhookIsNil applies the IsNil predicate on the "slack_webhook" field.
func SlackWebhookLT ¶
SlackWebhookLT applies the LT predicate on the "slack_webhook" field.
func SlackWebhookLTE ¶
SlackWebhookLTE applies the LTE predicate on the "slack_webhook" field.
func SlackWebhookNEQ ¶
SlackWebhookNEQ applies the NEQ predicate on the "slack_webhook" field.
func SlackWebhookNotIn ¶
SlackWebhookNotIn applies the NotIn predicate on the "slack_webhook" field.
func SlackWebhookNotNil ¶
SlackWebhookNotNil applies the NotNil predicate on the "slack_webhook" field.
func UserID ¶
UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.
func UserIDNotIn ¶
UserIDNotIn applies the NotIn predicate on the "user_id" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
Types ¶
This section is empty.