Documentation ¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Product) predicate.Product
- func Created(v time.Time) predicate.Product
- func CreatedEQ(v time.Time) predicate.Product
- func CreatedGT(v time.Time) predicate.Product
- func CreatedGTE(v time.Time) predicate.Product
- func CreatedIn(vs ...time.Time) predicate.Product
- func CreatedLT(v time.Time) predicate.Product
- func CreatedLTE(v time.Time) predicate.Product
- func CreatedNEQ(v time.Time) predicate.Product
- func CreatedNotIn(vs ...time.Time) predicate.Product
- func Detail(v string) predicate.Product
- func DetailContains(v string) predicate.Product
- func DetailContainsFold(v string) predicate.Product
- func DetailEQ(v string) predicate.Product
- func DetailEqualFold(v string) predicate.Product
- func DetailGT(v string) predicate.Product
- func DetailGTE(v string) predicate.Product
- func DetailHasPrefix(v string) predicate.Product
- func DetailHasSuffix(v string) predicate.Product
- func DetailIn(vs ...string) predicate.Product
- func DetailJa(v string) predicate.Product
- func DetailJaContains(v string) predicate.Product
- func DetailJaContainsFold(v string) predicate.Product
- func DetailJaEQ(v string) predicate.Product
- func DetailJaEqualFold(v string) predicate.Product
- func DetailJaGT(v string) predicate.Product
- func DetailJaGTE(v string) predicate.Product
- func DetailJaHasPrefix(v string) predicate.Product
- func DetailJaHasSuffix(v string) predicate.Product
- func DetailJaIn(vs ...string) predicate.Product
- func DetailJaLT(v string) predicate.Product
- func DetailJaLTE(v string) predicate.Product
- func DetailJaNEQ(v string) predicate.Product
- func DetailJaNotIn(vs ...string) predicate.Product
- func DetailLT(v string) predicate.Product
- func DetailLTE(v string) predicate.Product
- func DetailNEQ(v string) predicate.Product
- func DetailNotIn(vs ...string) predicate.Product
- func DevTime(v time.Time) predicate.Product
- func DevTimeEQ(v time.Time) predicate.Product
- func DevTimeGT(v time.Time) predicate.Product
- func DevTimeGTE(v time.Time) predicate.Product
- func DevTimeIn(vs ...time.Time) predicate.Product
- func DevTimeLT(v time.Time) predicate.Product
- func DevTimeLTE(v time.Time) predicate.Product
- func DevTimeNEQ(v time.Time) predicate.Product
- func DevTimeNotIn(vs ...time.Time) predicate.Product
- func GithubURL(v string) predicate.Product
- func GithubURLContains(v string) predicate.Product
- func GithubURLContainsFold(v string) predicate.Product
- func GithubURLEQ(v string) predicate.Product
- func GithubURLEqualFold(v string) predicate.Product
- func GithubURLGT(v string) predicate.Product
- func GithubURLGTE(v string) predicate.Product
- func GithubURLHasPrefix(v string) predicate.Product
- func GithubURLHasSuffix(v string) predicate.Product
- func GithubURLIn(vs ...string) predicate.Product
- func GithubURLIsNil() predicate.Product
- func GithubURLLT(v string) predicate.Product
- func GithubURLLTE(v string) predicate.Product
- func GithubURLNEQ(v string) predicate.Product
- func GithubURLNotIn(vs ...string) predicate.Product
- func GithubURLNotNil() predicate.Product
- func ID(id uint32) predicate.Product
- func IDEQ(id uint32) predicate.Product
- func IDGT(id uint32) predicate.Product
- func IDGTE(id uint32) predicate.Product
- func IDIn(ids ...uint32) predicate.Product
- func IDLT(id uint32) predicate.Product
- func IDLTE(id uint32) predicate.Product
- func IDNEQ(id uint32) predicate.Product
- func IDNotIn(ids ...uint32) predicate.Product
- func Modified(v time.Time) predicate.Product
- func ModifiedEQ(v time.Time) predicate.Product
- func ModifiedGT(v time.Time) predicate.Product
- func ModifiedGTE(v time.Time) predicate.Product
- func ModifiedIn(vs ...time.Time) predicate.Product
- func ModifiedLT(v time.Time) predicate.Product
- func ModifiedLTE(v time.Time) predicate.Product
- func ModifiedNEQ(v time.Time) predicate.Product
- func ModifiedNotIn(vs ...time.Time) predicate.Product
- func Name(v string) predicate.Product
- func NameContains(v string) predicate.Product
- func NameContainsFold(v string) predicate.Product
- func NameEQ(v string) predicate.Product
- func NameEqualFold(v string) predicate.Product
- func NameGT(v string) predicate.Product
- func NameGTE(v string) predicate.Product
- func NameHasPrefix(v string) predicate.Product
- func NameHasSuffix(v string) predicate.Product
- func NameIn(vs ...string) predicate.Product
- func NameJa(v string) predicate.Product
- func NameJaContains(v string) predicate.Product
- func NameJaContainsFold(v string) predicate.Product
- func NameJaEQ(v string) predicate.Product
- func NameJaEqualFold(v string) predicate.Product
- func NameJaGT(v string) predicate.Product
- func NameJaGTE(v string) predicate.Product
- func NameJaHasPrefix(v string) predicate.Product
- func NameJaHasSuffix(v string) predicate.Product
- func NameJaIn(vs ...string) predicate.Product
- func NameJaLT(v string) predicate.Product
- func NameJaLTE(v string) predicate.Product
- func NameJaNEQ(v string) predicate.Product
- func NameJaNotIn(vs ...string) predicate.Product
- func NameLT(v string) predicate.Product
- func NameLTE(v string) predicate.Product
- func NameNEQ(v string) predicate.Product
- func NameNotIn(vs ...string) predicate.Product
- func Not(p predicate.Product) predicate.Product
- func Or(predicates ...predicate.Product) predicate.Product
- func SiteURL(v string) predicate.Product
- func SiteURLContains(v string) predicate.Product
- func SiteURLContainsFold(v string) predicate.Product
- func SiteURLEQ(v string) predicate.Product
- func SiteURLEqualFold(v string) predicate.Product
- func SiteURLGT(v string) predicate.Product
- func SiteURLGTE(v string) predicate.Product
- func SiteURLHasPrefix(v string) predicate.Product
- func SiteURLHasSuffix(v string) predicate.Product
- func SiteURLIn(vs ...string) predicate.Product
- func SiteURLLT(v string) predicate.Product
- func SiteURLLTE(v string) predicate.Product
- func SiteURLNEQ(v string) predicate.Product
- func SiteURLNotIn(vs ...string) predicate.Product
- func Thumbnail(v string) predicate.Product
- func ThumbnailContains(v string) predicate.Product
- func ThumbnailContainsFold(v string) predicate.Product
- func ThumbnailEQ(v string) predicate.Product
- func ThumbnailEqualFold(v string) predicate.Product
- func ThumbnailGT(v string) predicate.Product
- func ThumbnailGTE(v string) predicate.Product
- func ThumbnailHasPrefix(v string) predicate.Product
- func ThumbnailHasSuffix(v string) predicate.Product
- func ThumbnailIn(vs ...string) predicate.Product
- func ThumbnailIsNil() predicate.Product
- func ThumbnailLT(v string) predicate.Product
- func ThumbnailLTE(v string) predicate.Product
- func ThumbnailNEQ(v string) predicate.Product
- func ThumbnailNotIn(vs ...string) predicate.Product
- func ThumbnailNotNil() predicate.Product
- func UserID(v uint32) predicate.Product
- func UserIDEQ(v uint32) predicate.Product
- func UserIDGT(v uint32) predicate.Product
- func UserIDGTE(v uint32) predicate.Product
- func UserIDIn(vs ...uint32) predicate.Product
- func UserIDLT(v uint32) predicate.Product
- func UserIDLTE(v uint32) predicate.Product
- func UserIDNEQ(v uint32) predicate.Product
- func UserIDNotIn(vs ...uint32) predicate.Product
- func ValidColumn(column string) bool
Constants ¶
const ( // Label holds the string label denoting the product type in the database. Label = "product" // 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" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldNameJa holds the string denoting the name_ja field in the database. FieldNameJa = "name_ja" // FieldDetail holds the string denoting the detail field in the database. FieldDetail = "detail" // FieldDetailJa holds the string denoting the detail_ja field in the database. FieldDetailJa = "detail_ja" // FieldSiteURL holds the string denoting the site_url field in the database. FieldSiteURL = "site_url" // FieldGithubURL holds the string denoting the github_url field in the database. FieldGithubURL = "github_url" // FieldDevTime holds the string denoting the dev_time field in the database. FieldDevTime = "dev_time" // FieldThumbnail holds the string denoting the thumbnail field in the database. FieldThumbnail = "thumbnail" // 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 product in the database. Table = "products" )
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, FieldName, FieldNameJa, FieldDetail, FieldDetailJa, FieldSiteURL, FieldGithubURL, FieldDevTime, FieldThumbnail, FieldCreated, FieldModified, }
Columns holds all SQL columns for product 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 Detail ¶
Detail applies equality check predicate on the "detail" field. It's identical to DetailEQ.
func DetailContains ¶
DetailContains applies the Contains predicate on the "detail" field.
func DetailContainsFold ¶
DetailContainsFold applies the ContainsFold predicate on the "detail" field.
func DetailEqualFold ¶
DetailEqualFold applies the EqualFold predicate on the "detail" field.
func DetailHasPrefix ¶
DetailHasPrefix applies the HasPrefix predicate on the "detail" field.
func DetailHasSuffix ¶
DetailHasSuffix applies the HasSuffix predicate on the "detail" field.
func DetailJa ¶
DetailJa applies equality check predicate on the "detail_ja" field. It's identical to DetailJaEQ.
func DetailJaContains ¶
DetailJaContains applies the Contains predicate on the "detail_ja" field.
func DetailJaContainsFold ¶
DetailJaContainsFold applies the ContainsFold predicate on the "detail_ja" field.
func DetailJaEQ ¶
DetailJaEQ applies the EQ predicate on the "detail_ja" field.
func DetailJaEqualFold ¶
DetailJaEqualFold applies the EqualFold predicate on the "detail_ja" field.
func DetailJaGT ¶
DetailJaGT applies the GT predicate on the "detail_ja" field.
func DetailJaGTE ¶
DetailJaGTE applies the GTE predicate on the "detail_ja" field.
func DetailJaHasPrefix ¶
DetailJaHasPrefix applies the HasPrefix predicate on the "detail_ja" field.
func DetailJaHasSuffix ¶
DetailJaHasSuffix applies the HasSuffix predicate on the "detail_ja" field.
func DetailJaIn ¶
DetailJaIn applies the In predicate on the "detail_ja" field.
func DetailJaLT ¶
DetailJaLT applies the LT predicate on the "detail_ja" field.
func DetailJaLTE ¶
DetailJaLTE applies the LTE predicate on the "detail_ja" field.
func DetailJaNEQ ¶
DetailJaNEQ applies the NEQ predicate on the "detail_ja" field.
func DetailJaNotIn ¶
DetailJaNotIn applies the NotIn predicate on the "detail_ja" field.
func DetailNotIn ¶
DetailNotIn applies the NotIn predicate on the "detail" field.
func DevTime ¶
DevTime applies equality check predicate on the "dev_time" field. It's identical to DevTimeEQ.
func DevTimeGTE ¶
DevTimeGTE applies the GTE predicate on the "dev_time" field.
func DevTimeLTE ¶
DevTimeLTE applies the LTE predicate on the "dev_time" field.
func DevTimeNEQ ¶
DevTimeNEQ applies the NEQ predicate on the "dev_time" field.
func DevTimeNotIn ¶
DevTimeNotIn applies the NotIn predicate on the "dev_time" field.
func GithubURL ¶
GithubURL applies equality check predicate on the "github_url" field. It's identical to GithubURLEQ.
func GithubURLContains ¶
GithubURLContains applies the Contains predicate on the "github_url" field.
func GithubURLContainsFold ¶
GithubURLContainsFold applies the ContainsFold predicate on the "github_url" field.
func GithubURLEQ ¶
GithubURLEQ applies the EQ predicate on the "github_url" field.
func GithubURLEqualFold ¶
GithubURLEqualFold applies the EqualFold predicate on the "github_url" field.
func GithubURLGT ¶
GithubURLGT applies the GT predicate on the "github_url" field.
func GithubURLGTE ¶
GithubURLGTE applies the GTE predicate on the "github_url" field.
func GithubURLHasPrefix ¶
GithubURLHasPrefix applies the HasPrefix predicate on the "github_url" field.
func GithubURLHasSuffix ¶
GithubURLHasSuffix applies the HasSuffix predicate on the "github_url" field.
func GithubURLIn ¶
GithubURLIn applies the In predicate on the "github_url" field.
func GithubURLIsNil ¶
GithubURLIsNil applies the IsNil predicate on the "github_url" field.
func GithubURLLT ¶
GithubURLLT applies the LT predicate on the "github_url" field.
func GithubURLLTE ¶
GithubURLLTE applies the LTE predicate on the "github_url" field.
func GithubURLNEQ ¶
GithubURLNEQ applies the NEQ predicate on the "github_url" field.
func GithubURLNotIn ¶
GithubURLNotIn applies the NotIn predicate on the "github_url" field.
func GithubURLNotNil ¶
GithubURLNotNil applies the NotNil predicate on the "github_url" 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 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 NameJa ¶
NameJa applies equality check predicate on the "name_ja" field. It's identical to NameJaEQ.
func NameJaContains ¶
NameJaContains applies the Contains predicate on the "name_ja" field.
func NameJaContainsFold ¶
NameJaContainsFold applies the ContainsFold predicate on the "name_ja" field.
func NameJaEqualFold ¶
NameJaEqualFold applies the EqualFold predicate on the "name_ja" field.
func NameJaHasPrefix ¶
NameJaHasPrefix applies the HasPrefix predicate on the "name_ja" field.
func NameJaHasSuffix ¶
NameJaHasSuffix applies the HasSuffix predicate on the "name_ja" field.
func NameJaNotIn ¶
NameJaNotIn applies the NotIn predicate on the "name_ja" field.
func SiteURL ¶
SiteURL applies equality check predicate on the "site_url" field. It's identical to SiteURLEQ.
func SiteURLContains ¶
SiteURLContains applies the Contains predicate on the "site_url" field.
func SiteURLContainsFold ¶
SiteURLContainsFold applies the ContainsFold predicate on the "site_url" field.
func SiteURLEqualFold ¶
SiteURLEqualFold applies the EqualFold predicate on the "site_url" field.
func SiteURLGTE ¶
SiteURLGTE applies the GTE predicate on the "site_url" field.
func SiteURLHasPrefix ¶
SiteURLHasPrefix applies the HasPrefix predicate on the "site_url" field.
func SiteURLHasSuffix ¶
SiteURLHasSuffix applies the HasSuffix predicate on the "site_url" field.
func SiteURLLTE ¶
SiteURLLTE applies the LTE predicate on the "site_url" field.
func SiteURLNEQ ¶
SiteURLNEQ applies the NEQ predicate on the "site_url" field.
func SiteURLNotIn ¶
SiteURLNotIn applies the NotIn predicate on the "site_url" field.
func Thumbnail ¶
Thumbnail applies equality check predicate on the "thumbnail" field. It's identical to ThumbnailEQ.
func ThumbnailContains ¶
ThumbnailContains applies the Contains predicate on the "thumbnail" field.
func ThumbnailContainsFold ¶
ThumbnailContainsFold applies the ContainsFold predicate on the "thumbnail" field.
func ThumbnailEQ ¶
ThumbnailEQ applies the EQ predicate on the "thumbnail" field.
func ThumbnailEqualFold ¶
ThumbnailEqualFold applies the EqualFold predicate on the "thumbnail" field.
func ThumbnailGT ¶
ThumbnailGT applies the GT predicate on the "thumbnail" field.
func ThumbnailGTE ¶
ThumbnailGTE applies the GTE predicate on the "thumbnail" field.
func ThumbnailHasPrefix ¶
ThumbnailHasPrefix applies the HasPrefix predicate on the "thumbnail" field.
func ThumbnailHasSuffix ¶
ThumbnailHasSuffix applies the HasSuffix predicate on the "thumbnail" field.
func ThumbnailIn ¶
ThumbnailIn applies the In predicate on the "thumbnail" field.
func ThumbnailIsNil ¶
ThumbnailIsNil applies the IsNil predicate on the "thumbnail" field.
func ThumbnailLT ¶
ThumbnailLT applies the LT predicate on the "thumbnail" field.
func ThumbnailLTE ¶
ThumbnailLTE applies the LTE predicate on the "thumbnail" field.
func ThumbnailNEQ ¶
ThumbnailNEQ applies the NEQ predicate on the "thumbnail" field.
func ThumbnailNotIn ¶
ThumbnailNotIn applies the NotIn predicate on the "thumbnail" field.
func ThumbnailNotNil ¶
ThumbnailNotNil applies the NotNil predicate on the "thumbnail" 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.