Documentation
¶
Index ¶
- Constants
- Variables
- func And(predicates ...predicate.Repo) predicate.Repo
- func Description(v string) predicate.Repo
- func DescriptionContains(v string) predicate.Repo
- func DescriptionContainsFold(v string) predicate.Repo
- func DescriptionEQ(v string) predicate.Repo
- func DescriptionEqualFold(v string) predicate.Repo
- func DescriptionGT(v string) predicate.Repo
- func DescriptionGTE(v string) predicate.Repo
- func DescriptionHasPrefix(v string) predicate.Repo
- func DescriptionHasSuffix(v string) predicate.Repo
- func DescriptionIn(vs ...string) predicate.Repo
- func DescriptionLT(v string) predicate.Repo
- func DescriptionLTE(v string) predicate.Repo
- func DescriptionNEQ(v string) predicate.Repo
- func DescriptionNotIn(vs ...string) predicate.Repo
- func ForkCount(v int) predicate.Repo
- func ForkCountEQ(v int) predicate.Repo
- func ForkCountGT(v int) predicate.Repo
- func ForkCountGTE(v int) predicate.Repo
- func ForkCountIn(vs ...int) predicate.Repo
- func ForkCountIsNil() predicate.Repo
- func ForkCountLT(v int) predicate.Repo
- func ForkCountLTE(v int) predicate.Repo
- func ForkCountNEQ(v int) predicate.Repo
- func ForkCountNotIn(vs ...int) predicate.Repo
- func ForkCountNotNil() predicate.Repo
- func HasTopics() predicate.Repo
- func HasTopicsWith(preds ...predicate.Topic) predicate.Repo
- func ID(id int) predicate.Repo
- func IDEQ(id int) predicate.Repo
- func IDGT(id int) predicate.Repo
- func IDGTE(id int) predicate.Repo
- func IDIn(ids ...int) predicate.Repo
- func IDLT(id int) predicate.Repo
- func IDLTE(id int) predicate.Repo
- func IDNEQ(id int) predicate.Repo
- func IDNotIn(ids ...int) predicate.Repo
- func Name(v string) predicate.Repo
- func NameContains(v string) predicate.Repo
- func NameContainsFold(v string) predicate.Repo
- func NameEQ(v string) predicate.Repo
- func NameEqualFold(v string) predicate.Repo
- func NameGT(v string) predicate.Repo
- func NameGTE(v string) predicate.Repo
- func NameHasPrefix(v string) predicate.Repo
- func NameHasSuffix(v string) predicate.Repo
- func NameIn(vs ...string) predicate.Repo
- func NameLT(v string) predicate.Repo
- func NameLTE(v string) predicate.Repo
- func NameNEQ(v string) predicate.Repo
- func NameNotIn(vs ...string) predicate.Repo
- func Not(p predicate.Repo) predicate.Repo
- func Or(predicates ...predicate.Repo) predicate.Repo
- func StarCount(v int) predicate.Repo
- func StarCountEQ(v int) predicate.Repo
- func StarCountGT(v int) predicate.Repo
- func StarCountGTE(v int) predicate.Repo
- func StarCountIn(vs ...int) predicate.Repo
- func StarCountIsNil() predicate.Repo
- func StarCountLT(v int) predicate.Repo
- func StarCountLTE(v int) predicate.Repo
- func StarCountNEQ(v int) predicate.Repo
- func StarCountNotIn(vs ...int) predicate.Repo
- func StarCountNotNil() predicate.Repo
- func SubTopic(v string) predicate.Repo
- func SubTopicContains(v string) predicate.Repo
- func SubTopicContainsFold(v string) predicate.Repo
- func SubTopicEQ(v string) predicate.Repo
- func SubTopicEqualFold(v string) predicate.Repo
- func SubTopicGT(v string) predicate.Repo
- func SubTopicGTE(v string) predicate.Repo
- func SubTopicHasPrefix(v string) predicate.Repo
- func SubTopicHasSuffix(v string) predicate.Repo
- func SubTopicIn(vs ...string) predicate.Repo
- func SubTopicLT(v string) predicate.Repo
- func SubTopicLTE(v string) predicate.Repo
- func SubTopicNEQ(v string) predicate.Repo
- func SubTopicNotIn(vs ...string) predicate.Repo
- func TopicID(v int) predicate.Repo
- func TopicIDEQ(v int) predicate.Repo
- func TopicIDIn(vs ...int) predicate.Repo
- func TopicIDNEQ(v int) predicate.Repo
- func TopicIDNotIn(vs ...int) predicate.Repo
- func TypeEQ(v Type) predicate.Repo
- func TypeIn(vs ...Type) predicate.Repo
- func TypeNEQ(v Type) predicate.Repo
- func TypeNotIn(vs ...Type) predicate.Repo
- func TypeValidator(_type Type) error
- func URL(v string) predicate.Repo
- func URLContains(v string) predicate.Repo
- func URLContainsFold(v string) predicate.Repo
- func URLEQ(v string) predicate.Repo
- func URLEqualFold(v string) predicate.Repo
- func URLGT(v string) predicate.Repo
- func URLGTE(v string) predicate.Repo
- func URLHasPrefix(v string) predicate.Repo
- func URLHasSuffix(v string) predicate.Repo
- func URLIn(vs ...string) predicate.Repo
- func URLLT(v string) predicate.Repo
- func URLLTE(v string) predicate.Repo
- func URLNEQ(v string) predicate.Repo
- func URLNotIn(vs ...string) predicate.Repo
- func UpdatedAt(v time.Time) predicate.Repo
- func UpdatedAtEQ(v time.Time) predicate.Repo
- func UpdatedAtGT(v time.Time) predicate.Repo
- func UpdatedAtGTE(v time.Time) predicate.Repo
- func UpdatedAtIn(vs ...time.Time) predicate.Repo
- func UpdatedAtIsNil() predicate.Repo
- func UpdatedAtLT(v time.Time) predicate.Repo
- func UpdatedAtLTE(v time.Time) predicate.Repo
- func UpdatedAtNEQ(v time.Time) predicate.Repo
- func UpdatedAtNotIn(vs ...time.Time) predicate.Repo
- func UpdatedAtNotNil() predicate.Repo
- func ValidColumn(column string) bool
- func WatchCount(v int) predicate.Repo
- func WatchCountEQ(v int) predicate.Repo
- func WatchCountGT(v int) predicate.Repo
- func WatchCountGTE(v int) predicate.Repo
- func WatchCountIn(vs ...int) predicate.Repo
- func WatchCountIsNil() predicate.Repo
- func WatchCountLT(v int) predicate.Repo
- func WatchCountLTE(v int) predicate.Repo
- func WatchCountNEQ(v int) predicate.Repo
- func WatchCountNotIn(vs ...int) predicate.Repo
- func WatchCountNotNil() predicate.Repo
- type Type
Constants ¶
const ( // Label holds the string label denoting the repo type in the database. Label = "repo" // FieldID holds the string denoting the id field in the database. FieldID = "id" // FieldName holds the string denoting the name field in the database. FieldName = "name" // FieldDescription holds the string denoting the description field in the database. FieldDescription = "description" // FieldURL holds the string denoting the url field in the database. FieldURL = "url" // FieldSubTopic holds the string denoting the sub_topic field in the database. FieldSubTopic = "sub_topic" // FieldType holds the string denoting the type field in the database. FieldType = "type" // FieldStarCount holds the string denoting the star_count field in the database. FieldStarCount = "star_count" // FieldForkCount holds the string denoting the fork_count field in the database. FieldForkCount = "fork_count" // FieldWatchCount holds the string denoting the watch_count field in the database. FieldWatchCount = "watch_count" // FieldUpdatedAt holds the string denoting the updated_at field in the database. FieldUpdatedAt = "updated_at" // FieldTopicID holds the string denoting the topic_id field in the database. FieldTopicID = "topic_id" // EdgeTopics holds the string denoting the topics edge name in mutations. EdgeTopics = "topics" // Table holds the table name of the repo in the database. Table = "repo" // TopicsTable is the table that holds the topics relation/edge. TopicsTable = "repo" // TopicsInverseTable is the table name for the Topic entity. // It exists in this package in order to avoid circular dependency with the "topic" package. TopicsInverseTable = "topic" // TopicsColumn is the table column denoting the topics relation/edge. TopicsColumn = "topic_id" )
Variables ¶
var Columns = []string{ FieldID, FieldName, FieldDescription, FieldURL, FieldSubTopic, FieldType, FieldStarCount, FieldForkCount, FieldWatchCount, FieldUpdatedAt, FieldTopicID, }
Columns holds all SQL columns for repo fields.
Functions ¶
func Description ¶
Description applies equality check predicate on the "description" field. It's identical to DescriptionEQ.
func DescriptionContains ¶
DescriptionContains applies the Contains predicate on the "description" field.
func DescriptionContainsFold ¶
DescriptionContainsFold applies the ContainsFold predicate on the "description" field.
func DescriptionEQ ¶
DescriptionEQ applies the EQ predicate on the "description" field.
func DescriptionEqualFold ¶
DescriptionEqualFold applies the EqualFold predicate on the "description" field.
func DescriptionGT ¶
DescriptionGT applies the GT predicate on the "description" field.
func DescriptionGTE ¶
DescriptionGTE applies the GTE predicate on the "description" field.
func DescriptionHasPrefix ¶
DescriptionHasPrefix applies the HasPrefix predicate on the "description" field.
func DescriptionHasSuffix ¶
DescriptionHasSuffix applies the HasSuffix predicate on the "description" field.
func DescriptionIn ¶
DescriptionIn applies the In predicate on the "description" field.
func DescriptionLT ¶
DescriptionLT applies the LT predicate on the "description" field.
func DescriptionLTE ¶
DescriptionLTE applies the LTE predicate on the "description" field.
func DescriptionNEQ ¶
DescriptionNEQ applies the NEQ predicate on the "description" field.
func DescriptionNotIn ¶
DescriptionNotIn applies the NotIn predicate on the "description" field.
func ForkCount ¶
ForkCount applies equality check predicate on the "fork_count" field. It's identical to ForkCountEQ.
func ForkCountEQ ¶
ForkCountEQ applies the EQ predicate on the "fork_count" field.
func ForkCountGT ¶
ForkCountGT applies the GT predicate on the "fork_count" field.
func ForkCountGTE ¶
ForkCountGTE applies the GTE predicate on the "fork_count" field.
func ForkCountIn ¶
ForkCountIn applies the In predicate on the "fork_count" field.
func ForkCountIsNil ¶
ForkCountIsNil applies the IsNil predicate on the "fork_count" field.
func ForkCountLT ¶
ForkCountLT applies the LT predicate on the "fork_count" field.
func ForkCountLTE ¶
ForkCountLTE applies the LTE predicate on the "fork_count" field.
func ForkCountNEQ ¶
ForkCountNEQ applies the NEQ predicate on the "fork_count" field.
func ForkCountNotIn ¶
ForkCountNotIn applies the NotIn predicate on the "fork_count" field.
func ForkCountNotNil ¶
ForkCountNotNil applies the NotNil predicate on the "fork_count" field.
func HasTopicsWith ¶
HasTopicsWith applies the HasEdge predicate on the "topics" edge with a given conditions (other predicates).
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 StarCount ¶
StarCount applies equality check predicate on the "star_count" field. It's identical to StarCountEQ.
func StarCountEQ ¶
StarCountEQ applies the EQ predicate on the "star_count" field.
func StarCountGT ¶
StarCountGT applies the GT predicate on the "star_count" field.
func StarCountGTE ¶
StarCountGTE applies the GTE predicate on the "star_count" field.
func StarCountIn ¶
StarCountIn applies the In predicate on the "star_count" field.
func StarCountIsNil ¶
StarCountIsNil applies the IsNil predicate on the "star_count" field.
func StarCountLT ¶
StarCountLT applies the LT predicate on the "star_count" field.
func StarCountLTE ¶
StarCountLTE applies the LTE predicate on the "star_count" field.
func StarCountNEQ ¶
StarCountNEQ applies the NEQ predicate on the "star_count" field.
func StarCountNotIn ¶
StarCountNotIn applies the NotIn predicate on the "star_count" field.
func StarCountNotNil ¶
StarCountNotNil applies the NotNil predicate on the "star_count" field.
func SubTopic ¶
SubTopic applies equality check predicate on the "sub_topic" field. It's identical to SubTopicEQ.
func SubTopicContains ¶
SubTopicContains applies the Contains predicate on the "sub_topic" field.
func SubTopicContainsFold ¶
SubTopicContainsFold applies the ContainsFold predicate on the "sub_topic" field.
func SubTopicEQ ¶
SubTopicEQ applies the EQ predicate on the "sub_topic" field.
func SubTopicEqualFold ¶
SubTopicEqualFold applies the EqualFold predicate on the "sub_topic" field.
func SubTopicGT ¶
SubTopicGT applies the GT predicate on the "sub_topic" field.
func SubTopicGTE ¶
SubTopicGTE applies the GTE predicate on the "sub_topic" field.
func SubTopicHasPrefix ¶
SubTopicHasPrefix applies the HasPrefix predicate on the "sub_topic" field.
func SubTopicHasSuffix ¶
SubTopicHasSuffix applies the HasSuffix predicate on the "sub_topic" field.
func SubTopicIn ¶
SubTopicIn applies the In predicate on the "sub_topic" field.
func SubTopicLT ¶
SubTopicLT applies the LT predicate on the "sub_topic" field.
func SubTopicLTE ¶
SubTopicLTE applies the LTE predicate on the "sub_topic" field.
func SubTopicNEQ ¶
SubTopicNEQ applies the NEQ predicate on the "sub_topic" field.
func SubTopicNotIn ¶
SubTopicNotIn applies the NotIn predicate on the "sub_topic" field.
func TopicID ¶
TopicID applies equality check predicate on the "topic_id" field. It's identical to TopicIDEQ.
func TopicIDNEQ ¶
TopicIDNEQ applies the NEQ predicate on the "topic_id" field.
func TopicIDNotIn ¶
TopicIDNotIn applies the NotIn predicate on the "topic_id" field.
func TypeValidator ¶
TypeValidator is a validator for the "type" field enum values. It is called by the builders before save.
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 UpdatedAt ¶
UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.
func UpdatedAtEQ ¶
UpdatedAtEQ applies the EQ predicate on the "updated_at" field.
func UpdatedAtGT ¶
UpdatedAtGT applies the GT predicate on the "updated_at" field.
func UpdatedAtGTE ¶
UpdatedAtGTE applies the GTE predicate on the "updated_at" field.
func UpdatedAtIn ¶
UpdatedAtIn applies the In predicate on the "updated_at" field.
func UpdatedAtIsNil ¶
UpdatedAtIsNil applies the IsNil predicate on the "updated_at" field.
func UpdatedAtLT ¶
UpdatedAtLT applies the LT predicate on the "updated_at" field.
func UpdatedAtLTE ¶
UpdatedAtLTE applies the LTE predicate on the "updated_at" field.
func UpdatedAtNEQ ¶
UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.
func UpdatedAtNotIn ¶
UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.
func UpdatedAtNotNil ¶
UpdatedAtNotNil applies the NotNil predicate on the "updated_at" field.
func ValidColumn ¶
ValidColumn reports if the column name is valid (part of the table columns).
func WatchCount ¶
WatchCount applies equality check predicate on the "watch_count" field. It's identical to WatchCountEQ.
func WatchCountEQ ¶
WatchCountEQ applies the EQ predicate on the "watch_count" field.
func WatchCountGT ¶
WatchCountGT applies the GT predicate on the "watch_count" field.
func WatchCountGTE ¶
WatchCountGTE applies the GTE predicate on the "watch_count" field.
func WatchCountIn ¶
WatchCountIn applies the In predicate on the "watch_count" field.
func WatchCountIsNil ¶
WatchCountIsNil applies the IsNil predicate on the "watch_count" field.
func WatchCountLT ¶
WatchCountLT applies the LT predicate on the "watch_count" field.
func WatchCountLTE ¶
WatchCountLTE applies the LTE predicate on the "watch_count" field.
func WatchCountNEQ ¶
WatchCountNEQ applies the NEQ predicate on the "watch_count" field.
func WatchCountNotIn ¶
WatchCountNotIn applies the NotIn predicate on the "watch_count" field.
func WatchCountNotNil ¶
WatchCountNotNil applies the NotNil predicate on the "watch_count" field.