issue

package
v0.0.0-...-914df79 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 15, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the issue type in the database.
	Label = "issue"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// FieldNodeID holds the string denoting the node_id field in the database.
	FieldNodeID = "node_id"
	// FieldURL holds the string denoting the url field in the database.
	FieldURL = "url"
	// FieldRepositoryURL holds the string denoting the repository_url field in the database.
	FieldRepositoryURL = "repository_url"
	// FieldLabelsURL holds the string denoting the labels_url field in the database.
	FieldLabelsURL = "labels_url"
	// FieldCommentsURL holds the string denoting the comments_url field in the database.
	FieldCommentsURL = "comments_url"
	// FieldEventsURL holds the string denoting the events_url field in the database.
	FieldEventsURL = "events_url"
	// FieldHTMLURL holds the string denoting the html_url field in the database.
	FieldHTMLURL = "html_url"
	// FieldNumber holds the string denoting the number field in the database.
	FieldNumber = "number"
	// FieldState holds the string denoting the state field in the database.
	FieldState = "state"
	// FieldStateReason holds the string denoting the state_reason field in the database.
	FieldStateReason = "state_reason"
	// FieldTitle holds the string denoting the title field in the database.
	FieldTitle = "title"
	// FieldBody holds the string denoting the body field in the database.
	FieldBody = "body"
	// FieldLocked holds the string denoting the locked field in the database.
	FieldLocked = "locked"
	// FieldActiveLockReason holds the string denoting the active_lock_reason field in the database.
	FieldActiveLockReason = "active_lock_reason"
	// FieldClosedAt holds the string denoting the closed_at field in the database.
	FieldClosedAt = "closed_at"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldUpdatedAt holds the string denoting the updated_at field in the database.
	FieldUpdatedAt = "updated_at"
	// FieldDraft holds the string denoting the draft field in the database.
	FieldDraft = "draft"
	// FieldAuthorAssociation holds the string denoting the author_association field in the database.
	FieldAuthorAssociation = "author_association"
	// FieldReactions holds the string denoting the reactions field in the database.
	FieldReactions = "reactions"
	// EdgeRepository holds the string denoting the repository edge name in mutations.
	EdgeRepository = "repository"
	// EdgeUser holds the string denoting the user edge name in mutations.
	EdgeUser = "user"
	// EdgeAssignees holds the string denoting the assignees edge name in mutations.
	EdgeAssignees = "assignees"
	// EdgeClosedBy holds the string denoting the closed_by edge name in mutations.
	EdgeClosedBy = "closed_by"
	// EdgeComments holds the string denoting the comments edge name in mutations.
	EdgeComments = "comments"
	// Table holds the table name of the issue in the database.
	Table = "issues"
	// RepositoryTable is the table that holds the repository relation/edge.
	RepositoryTable = "issues"
	// RepositoryInverseTable is the table name for the Repository entity.
	// It exists in this package in order to avoid circular dependency with the "repository" package.
	RepositoryInverseTable = "repositories"
	// RepositoryColumn is the table column denoting the repository relation/edge.
	RepositoryColumn = "repository_issues"
	// UserTable is the table that holds the user relation/edge.
	UserTable = "issues"
	// UserInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	UserInverseTable = "users"
	// UserColumn is the table column denoting the user relation/edge.
	UserColumn = "user_issues_created"
	// AssigneesTable is the table that holds the assignees relation/edge. The primary key declared below.
	AssigneesTable = "issue_assignees"
	// AssigneesInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	AssigneesInverseTable = "users"
	// ClosedByTable is the table that holds the closed_by relation/edge.
	ClosedByTable = "issues"
	// ClosedByInverseTable is the table name for the User entity.
	// It exists in this package in order to avoid circular dependency with the "user" package.
	ClosedByInverseTable = "users"
	// ClosedByColumn is the table column denoting the closed_by relation/edge.
	ClosedByColumn = "issue_closed_by"
	// CommentsTable is the table that holds the comments relation/edge.
	CommentsTable = "issue_comments"
	// CommentsInverseTable is the table name for the IssueComment entity.
	// It exists in this package in order to avoid circular dependency with the "issuecomment" package.
	CommentsInverseTable = "issue_comments"
	// CommentsColumn is the table column denoting the comments relation/edge.
	CommentsColumn = "issue_comments"
)

Variables

View Source
var (
	// AssigneesPrimaryKey and AssigneesColumn2 are the table columns denoting the
	// primary key for the assignees relation (M2M).
	AssigneesPrimaryKey = []string{"issue_id", "user_id"}
)

Columns holds all SQL columns for issue fields.

View Source
var ForeignKeys = []string{
	"issue_closed_by",
	"repository_issues",
	"user_issues_created",
}

ForeignKeys holds the SQL foreign-keys that are owned by the "issues" table and are not defined as standalone fields in the schema.

Functions

func ActiveLockReason

func ActiveLockReason(v string) predicate.Issue

ActiveLockReason applies equality check predicate on the "active_lock_reason" field. It's identical to ActiveLockReasonEQ.

func ActiveLockReasonContains

func ActiveLockReasonContains(v string) predicate.Issue

ActiveLockReasonContains applies the Contains predicate on the "active_lock_reason" field.

func ActiveLockReasonContainsFold

func ActiveLockReasonContainsFold(v string) predicate.Issue

ActiveLockReasonContainsFold applies the ContainsFold predicate on the "active_lock_reason" field.

func ActiveLockReasonEQ

func ActiveLockReasonEQ(v string) predicate.Issue

ActiveLockReasonEQ applies the EQ predicate on the "active_lock_reason" field.

func ActiveLockReasonEqualFold

func ActiveLockReasonEqualFold(v string) predicate.Issue

ActiveLockReasonEqualFold applies the EqualFold predicate on the "active_lock_reason" field.

func ActiveLockReasonGT

func ActiveLockReasonGT(v string) predicate.Issue

ActiveLockReasonGT applies the GT predicate on the "active_lock_reason" field.

func ActiveLockReasonGTE

func ActiveLockReasonGTE(v string) predicate.Issue

ActiveLockReasonGTE applies the GTE predicate on the "active_lock_reason" field.

func ActiveLockReasonHasPrefix

func ActiveLockReasonHasPrefix(v string) predicate.Issue

ActiveLockReasonHasPrefix applies the HasPrefix predicate on the "active_lock_reason" field.

func ActiveLockReasonHasSuffix

func ActiveLockReasonHasSuffix(v string) predicate.Issue

ActiveLockReasonHasSuffix applies the HasSuffix predicate on the "active_lock_reason" field.

func ActiveLockReasonIn

func ActiveLockReasonIn(vs ...string) predicate.Issue

ActiveLockReasonIn applies the In predicate on the "active_lock_reason" field.

func ActiveLockReasonIsNil

func ActiveLockReasonIsNil() predicate.Issue

ActiveLockReasonIsNil applies the IsNil predicate on the "active_lock_reason" field.

func ActiveLockReasonLT

func ActiveLockReasonLT(v string) predicate.Issue

ActiveLockReasonLT applies the LT predicate on the "active_lock_reason" field.

func ActiveLockReasonLTE

func ActiveLockReasonLTE(v string) predicate.Issue

ActiveLockReasonLTE applies the LTE predicate on the "active_lock_reason" field.

func ActiveLockReasonNEQ

func ActiveLockReasonNEQ(v string) predicate.Issue

ActiveLockReasonNEQ applies the NEQ predicate on the "active_lock_reason" field.

func ActiveLockReasonNotIn

func ActiveLockReasonNotIn(vs ...string) predicate.Issue

ActiveLockReasonNotIn applies the NotIn predicate on the "active_lock_reason" field.

func ActiveLockReasonNotNil

func ActiveLockReasonNotNil() predicate.Issue

ActiveLockReasonNotNil applies the NotNil predicate on the "active_lock_reason" field.

func And

func And(predicates ...predicate.Issue) predicate.Issue

And groups predicates with the AND operator between them.

func AuthorAssociationEQ

func AuthorAssociationEQ(v AuthorAssociation) predicate.Issue

AuthorAssociationEQ applies the EQ predicate on the "author_association" field.

func AuthorAssociationIn

func AuthorAssociationIn(vs ...AuthorAssociation) predicate.Issue

AuthorAssociationIn applies the In predicate on the "author_association" field.

func AuthorAssociationNEQ

func AuthorAssociationNEQ(v AuthorAssociation) predicate.Issue

AuthorAssociationNEQ applies the NEQ predicate on the "author_association" field.

func AuthorAssociationNotIn

func AuthorAssociationNotIn(vs ...AuthorAssociation) predicate.Issue

AuthorAssociationNotIn applies the NotIn predicate on the "author_association" field.

func AuthorAssociationValidator

func AuthorAssociationValidator(aa AuthorAssociation) error

AuthorAssociationValidator is a validator for the "author_association" field enum values. It is called by the builders before save.

func Body

func Body(v string) predicate.Issue

Body applies equality check predicate on the "body" field. It's identical to BodyEQ.

func BodyContains

func BodyContains(v string) predicate.Issue

BodyContains applies the Contains predicate on the "body" field.

func BodyContainsFold

func BodyContainsFold(v string) predicate.Issue

BodyContainsFold applies the ContainsFold predicate on the "body" field.

func BodyEQ

func BodyEQ(v string) predicate.Issue

BodyEQ applies the EQ predicate on the "body" field.

func BodyEqualFold

func BodyEqualFold(v string) predicate.Issue

BodyEqualFold applies the EqualFold predicate on the "body" field.

func BodyGT

func BodyGT(v string) predicate.Issue

BodyGT applies the GT predicate on the "body" field.

func BodyGTE

func BodyGTE(v string) predicate.Issue

BodyGTE applies the GTE predicate on the "body" field.

func BodyHasPrefix

func BodyHasPrefix(v string) predicate.Issue

BodyHasPrefix applies the HasPrefix predicate on the "body" field.

func BodyHasSuffix

func BodyHasSuffix(v string) predicate.Issue

BodyHasSuffix applies the HasSuffix predicate on the "body" field.

func BodyIn

func BodyIn(vs ...string) predicate.Issue

BodyIn applies the In predicate on the "body" field.

func BodyIsNil

func BodyIsNil() predicate.Issue

BodyIsNil applies the IsNil predicate on the "body" field.

func BodyLT

func BodyLT(v string) predicate.Issue

BodyLT applies the LT predicate on the "body" field.

func BodyLTE

func BodyLTE(v string) predicate.Issue

BodyLTE applies the LTE predicate on the "body" field.

func BodyNEQ

func BodyNEQ(v string) predicate.Issue

BodyNEQ applies the NEQ predicate on the "body" field.

func BodyNotIn

func BodyNotIn(vs ...string) predicate.Issue

BodyNotIn applies the NotIn predicate on the "body" field.

func BodyNotNil

func BodyNotNil() predicate.Issue

BodyNotNil applies the NotNil predicate on the "body" field.

func ClosedAt

func ClosedAt(v time.Time) predicate.Issue

ClosedAt applies equality check predicate on the "closed_at" field. It's identical to ClosedAtEQ.

func ClosedAtEQ

func ClosedAtEQ(v time.Time) predicate.Issue

ClosedAtEQ applies the EQ predicate on the "closed_at" field.

func ClosedAtGT

func ClosedAtGT(v time.Time) predicate.Issue

ClosedAtGT applies the GT predicate on the "closed_at" field.

func ClosedAtGTE

func ClosedAtGTE(v time.Time) predicate.Issue

ClosedAtGTE applies the GTE predicate on the "closed_at" field.

func ClosedAtIn

func ClosedAtIn(vs ...time.Time) predicate.Issue

ClosedAtIn applies the In predicate on the "closed_at" field.

func ClosedAtIsNil

func ClosedAtIsNil() predicate.Issue

ClosedAtIsNil applies the IsNil predicate on the "closed_at" field.

func ClosedAtLT

func ClosedAtLT(v time.Time) predicate.Issue

ClosedAtLT applies the LT predicate on the "closed_at" field.

func ClosedAtLTE

func ClosedAtLTE(v time.Time) predicate.Issue

ClosedAtLTE applies the LTE predicate on the "closed_at" field.

func ClosedAtNEQ

func ClosedAtNEQ(v time.Time) predicate.Issue

ClosedAtNEQ applies the NEQ predicate on the "closed_at" field.

func ClosedAtNotIn

func ClosedAtNotIn(vs ...time.Time) predicate.Issue

ClosedAtNotIn applies the NotIn predicate on the "closed_at" field.

func ClosedAtNotNil

func ClosedAtNotNil() predicate.Issue

ClosedAtNotNil applies the NotNil predicate on the "closed_at" field.

func CommentsURL

func CommentsURL(v string) predicate.Issue

CommentsURL applies equality check predicate on the "comments_url" field. It's identical to CommentsURLEQ.

func CommentsURLContains

func CommentsURLContains(v string) predicate.Issue

CommentsURLContains applies the Contains predicate on the "comments_url" field.

func CommentsURLContainsFold

func CommentsURLContainsFold(v string) predicate.Issue

CommentsURLContainsFold applies the ContainsFold predicate on the "comments_url" field.

func CommentsURLEQ

func CommentsURLEQ(v string) predicate.Issue

CommentsURLEQ applies the EQ predicate on the "comments_url" field.

func CommentsURLEqualFold

func CommentsURLEqualFold(v string) predicate.Issue

CommentsURLEqualFold applies the EqualFold predicate on the "comments_url" field.

func CommentsURLGT

func CommentsURLGT(v string) predicate.Issue

CommentsURLGT applies the GT predicate on the "comments_url" field.

func CommentsURLGTE

func CommentsURLGTE(v string) predicate.Issue

CommentsURLGTE applies the GTE predicate on the "comments_url" field.

func CommentsURLHasPrefix

func CommentsURLHasPrefix(v string) predicate.Issue

CommentsURLHasPrefix applies the HasPrefix predicate on the "comments_url" field.

func CommentsURLHasSuffix

func CommentsURLHasSuffix(v string) predicate.Issue

CommentsURLHasSuffix applies the HasSuffix predicate on the "comments_url" field.

func CommentsURLIn

func CommentsURLIn(vs ...string) predicate.Issue

CommentsURLIn applies the In predicate on the "comments_url" field.

func CommentsURLLT

func CommentsURLLT(v string) predicate.Issue

CommentsURLLT applies the LT predicate on the "comments_url" field.

func CommentsURLLTE

func CommentsURLLTE(v string) predicate.Issue

CommentsURLLTE applies the LTE predicate on the "comments_url" field.

func CommentsURLNEQ

func CommentsURLNEQ(v string) predicate.Issue

CommentsURLNEQ applies the NEQ predicate on the "comments_url" field.

func CommentsURLNotIn

func CommentsURLNotIn(vs ...string) predicate.Issue

CommentsURLNotIn applies the NotIn predicate on the "comments_url" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.Issue

CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.Issue

CreatedAtEQ applies the EQ predicate on the "created_at" field.

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.Issue

CreatedAtGT applies the GT predicate on the "created_at" field.

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.Issue

CreatedAtGTE applies the GTE predicate on the "created_at" field.

func CreatedAtIn

func CreatedAtIn(vs ...time.Time) predicate.Issue

CreatedAtIn applies the In predicate on the "created_at" field.

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.Issue

CreatedAtLT applies the LT predicate on the "created_at" field.

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.Issue

CreatedAtLTE applies the LTE predicate on the "created_at" field.

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.Issue

CreatedAtNEQ applies the NEQ predicate on the "created_at" field.

func CreatedAtNotIn

func CreatedAtNotIn(vs ...time.Time) predicate.Issue

CreatedAtNotIn applies the NotIn predicate on the "created_at" field.

func Draft

func Draft(v bool) predicate.Issue

Draft applies equality check predicate on the "draft" field. It's identical to DraftEQ.

func DraftEQ

func DraftEQ(v bool) predicate.Issue

DraftEQ applies the EQ predicate on the "draft" field.

func DraftNEQ

func DraftNEQ(v bool) predicate.Issue

DraftNEQ applies the NEQ predicate on the "draft" field.

func EventsURL

func EventsURL(v string) predicate.Issue

EventsURL applies equality check predicate on the "events_url" field. It's identical to EventsURLEQ.

func EventsURLContains

func EventsURLContains(v string) predicate.Issue

EventsURLContains applies the Contains predicate on the "events_url" field.

func EventsURLContainsFold

func EventsURLContainsFold(v string) predicate.Issue

EventsURLContainsFold applies the ContainsFold predicate on the "events_url" field.

func EventsURLEQ

func EventsURLEQ(v string) predicate.Issue

EventsURLEQ applies the EQ predicate on the "events_url" field.

func EventsURLEqualFold

func EventsURLEqualFold(v string) predicate.Issue

EventsURLEqualFold applies the EqualFold predicate on the "events_url" field.

func EventsURLGT

func EventsURLGT(v string) predicate.Issue

EventsURLGT applies the GT predicate on the "events_url" field.

func EventsURLGTE

func EventsURLGTE(v string) predicate.Issue

EventsURLGTE applies the GTE predicate on the "events_url" field.

func EventsURLHasPrefix

func EventsURLHasPrefix(v string) predicate.Issue

EventsURLHasPrefix applies the HasPrefix predicate on the "events_url" field.

func EventsURLHasSuffix

func EventsURLHasSuffix(v string) predicate.Issue

EventsURLHasSuffix applies the HasSuffix predicate on the "events_url" field.

func EventsURLIn

func EventsURLIn(vs ...string) predicate.Issue

EventsURLIn applies the In predicate on the "events_url" field.

func EventsURLLT

func EventsURLLT(v string) predicate.Issue

EventsURLLT applies the LT predicate on the "events_url" field.

func EventsURLLTE

func EventsURLLTE(v string) predicate.Issue

EventsURLLTE applies the LTE predicate on the "events_url" field.

func EventsURLNEQ

func EventsURLNEQ(v string) predicate.Issue

EventsURLNEQ applies the NEQ predicate on the "events_url" field.

func EventsURLNotIn

func EventsURLNotIn(vs ...string) predicate.Issue

EventsURLNotIn applies the NotIn predicate on the "events_url" field.

func HTMLURL

func HTMLURL(v string) predicate.Issue

HTMLURL applies equality check predicate on the "html_url" field. It's identical to HTMLURLEQ.

func HTMLURLContains

func HTMLURLContains(v string) predicate.Issue

HTMLURLContains applies the Contains predicate on the "html_url" field.

func HTMLURLContainsFold

func HTMLURLContainsFold(v string) predicate.Issue

HTMLURLContainsFold applies the ContainsFold predicate on the "html_url" field.

func HTMLURLEQ

func HTMLURLEQ(v string) predicate.Issue

HTMLURLEQ applies the EQ predicate on the "html_url" field.

func HTMLURLEqualFold

func HTMLURLEqualFold(v string) predicate.Issue

HTMLURLEqualFold applies the EqualFold predicate on the "html_url" field.

func HTMLURLGT

func HTMLURLGT(v string) predicate.Issue

HTMLURLGT applies the GT predicate on the "html_url" field.

func HTMLURLGTE

func HTMLURLGTE(v string) predicate.Issue

HTMLURLGTE applies the GTE predicate on the "html_url" field.

func HTMLURLHasPrefix

func HTMLURLHasPrefix(v string) predicate.Issue

HTMLURLHasPrefix applies the HasPrefix predicate on the "html_url" field.

func HTMLURLHasSuffix

func HTMLURLHasSuffix(v string) predicate.Issue

HTMLURLHasSuffix applies the HasSuffix predicate on the "html_url" field.

func HTMLURLIn

func HTMLURLIn(vs ...string) predicate.Issue

HTMLURLIn applies the In predicate on the "html_url" field.

func HTMLURLLT

func HTMLURLLT(v string) predicate.Issue

HTMLURLLT applies the LT predicate on the "html_url" field.

func HTMLURLLTE

func HTMLURLLTE(v string) predicate.Issue

HTMLURLLTE applies the LTE predicate on the "html_url" field.

func HTMLURLNEQ

func HTMLURLNEQ(v string) predicate.Issue

HTMLURLNEQ applies the NEQ predicate on the "html_url" field.

func HTMLURLNotIn

func HTMLURLNotIn(vs ...string) predicate.Issue

HTMLURLNotIn applies the NotIn predicate on the "html_url" field.

func HasAssignees

func HasAssignees() predicate.Issue

HasAssignees applies the HasEdge predicate on the "assignees" edge.

func HasAssigneesWith

func HasAssigneesWith(preds ...predicate.User) predicate.Issue

HasAssigneesWith applies the HasEdge predicate on the "assignees" edge with a given conditions (other predicates).

func HasClosedBy

func HasClosedBy() predicate.Issue

HasClosedBy applies the HasEdge predicate on the "closed_by" edge.

func HasClosedByWith

func HasClosedByWith(preds ...predicate.User) predicate.Issue

HasClosedByWith applies the HasEdge predicate on the "closed_by" edge with a given conditions (other predicates).

func HasComments

func HasComments() predicate.Issue

HasComments applies the HasEdge predicate on the "comments" edge.

func HasCommentsWith

func HasCommentsWith(preds ...predicate.IssueComment) predicate.Issue

HasCommentsWith applies the HasEdge predicate on the "comments" edge with a given conditions (other predicates).

func HasRepository

func HasRepository() predicate.Issue

HasRepository applies the HasEdge predicate on the "repository" edge.

func HasRepositoryWith

func HasRepositoryWith(preds ...predicate.Repository) predicate.Issue

HasRepositoryWith applies the HasEdge predicate on the "repository" edge with a given conditions (other predicates).

func HasUser

func HasUser() predicate.Issue

HasUser applies the HasEdge predicate on the "user" edge.

func HasUserWith

func HasUserWith(preds ...predicate.User) predicate.Issue

HasUserWith applies the HasEdge predicate on the "user" edge with a given conditions (other predicates).

func ID

func ID(id int64) predicate.Issue

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int64) predicate.Issue

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int64) predicate.Issue

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int64) predicate.Issue

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int64) predicate.Issue

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int64) predicate.Issue

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int64) predicate.Issue

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int64) predicate.Issue

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int64) predicate.Issue

IDNotIn applies the NotIn predicate on the ID field.

func LabelsURL

func LabelsURL(v string) predicate.Issue

LabelsURL applies equality check predicate on the "labels_url" field. It's identical to LabelsURLEQ.

func LabelsURLContains

func LabelsURLContains(v string) predicate.Issue

LabelsURLContains applies the Contains predicate on the "labels_url" field.

func LabelsURLContainsFold

func LabelsURLContainsFold(v string) predicate.Issue

LabelsURLContainsFold applies the ContainsFold predicate on the "labels_url" field.

func LabelsURLEQ

func LabelsURLEQ(v string) predicate.Issue

LabelsURLEQ applies the EQ predicate on the "labels_url" field.

func LabelsURLEqualFold

func LabelsURLEqualFold(v string) predicate.Issue

LabelsURLEqualFold applies the EqualFold predicate on the "labels_url" field.

func LabelsURLGT

func LabelsURLGT(v string) predicate.Issue

LabelsURLGT applies the GT predicate on the "labels_url" field.

func LabelsURLGTE

func LabelsURLGTE(v string) predicate.Issue

LabelsURLGTE applies the GTE predicate on the "labels_url" field.

func LabelsURLHasPrefix

func LabelsURLHasPrefix(v string) predicate.Issue

LabelsURLHasPrefix applies the HasPrefix predicate on the "labels_url" field.

func LabelsURLHasSuffix

func LabelsURLHasSuffix(v string) predicate.Issue

LabelsURLHasSuffix applies the HasSuffix predicate on the "labels_url" field.

func LabelsURLIn

func LabelsURLIn(vs ...string) predicate.Issue

LabelsURLIn applies the In predicate on the "labels_url" field.

func LabelsURLLT

func LabelsURLLT(v string) predicate.Issue

LabelsURLLT applies the LT predicate on the "labels_url" field.

func LabelsURLLTE

func LabelsURLLTE(v string) predicate.Issue

LabelsURLLTE applies the LTE predicate on the "labels_url" field.

func LabelsURLNEQ

func LabelsURLNEQ(v string) predicate.Issue

LabelsURLNEQ applies the NEQ predicate on the "labels_url" field.

func LabelsURLNotIn

func LabelsURLNotIn(vs ...string) predicate.Issue

LabelsURLNotIn applies the NotIn predicate on the "labels_url" field.

func Locked

func Locked(v bool) predicate.Issue

Locked applies equality check predicate on the "locked" field. It's identical to LockedEQ.

func LockedEQ

func LockedEQ(v bool) predicate.Issue

LockedEQ applies the EQ predicate on the "locked" field.

func LockedNEQ

func LockedNEQ(v bool) predicate.Issue

LockedNEQ applies the NEQ predicate on the "locked" field.

func NodeID

func NodeID(v string) predicate.Issue

NodeID applies equality check predicate on the "node_id" field. It's identical to NodeIDEQ.

func NodeIDContains

func NodeIDContains(v string) predicate.Issue

NodeIDContains applies the Contains predicate on the "node_id" field.

func NodeIDContainsFold

func NodeIDContainsFold(v string) predicate.Issue

NodeIDContainsFold applies the ContainsFold predicate on the "node_id" field.

func NodeIDEQ

func NodeIDEQ(v string) predicate.Issue

NodeIDEQ applies the EQ predicate on the "node_id" field.

func NodeIDEqualFold

func NodeIDEqualFold(v string) predicate.Issue

NodeIDEqualFold applies the EqualFold predicate on the "node_id" field.

func NodeIDGT

func NodeIDGT(v string) predicate.Issue

NodeIDGT applies the GT predicate on the "node_id" field.

func NodeIDGTE

func NodeIDGTE(v string) predicate.Issue

NodeIDGTE applies the GTE predicate on the "node_id" field.

func NodeIDHasPrefix

func NodeIDHasPrefix(v string) predicate.Issue

NodeIDHasPrefix applies the HasPrefix predicate on the "node_id" field.

func NodeIDHasSuffix

func NodeIDHasSuffix(v string) predicate.Issue

NodeIDHasSuffix applies the HasSuffix predicate on the "node_id" field.

func NodeIDIn

func NodeIDIn(vs ...string) predicate.Issue

NodeIDIn applies the In predicate on the "node_id" field.

func NodeIDLT

func NodeIDLT(v string) predicate.Issue

NodeIDLT applies the LT predicate on the "node_id" field.

func NodeIDLTE

func NodeIDLTE(v string) predicate.Issue

NodeIDLTE applies the LTE predicate on the "node_id" field.

func NodeIDNEQ

func NodeIDNEQ(v string) predicate.Issue

NodeIDNEQ applies the NEQ predicate on the "node_id" field.

func NodeIDNotIn

func NodeIDNotIn(vs ...string) predicate.Issue

NodeIDNotIn applies the NotIn predicate on the "node_id" field.

func Not

Not applies the not operator on the given predicate.

func Number

func Number(v int64) predicate.Issue

Number applies equality check predicate on the "number" field. It's identical to NumberEQ.

func NumberEQ

func NumberEQ(v int64) predicate.Issue

NumberEQ applies the EQ predicate on the "number" field.

func NumberGT

func NumberGT(v int64) predicate.Issue

NumberGT applies the GT predicate on the "number" field.

func NumberGTE

func NumberGTE(v int64) predicate.Issue

NumberGTE applies the GTE predicate on the "number" field.

func NumberIn

func NumberIn(vs ...int64) predicate.Issue

NumberIn applies the In predicate on the "number" field.

func NumberLT

func NumberLT(v int64) predicate.Issue

NumberLT applies the LT predicate on the "number" field.

func NumberLTE

func NumberLTE(v int64) predicate.Issue

NumberLTE applies the LTE predicate on the "number" field.

func NumberNEQ

func NumberNEQ(v int64) predicate.Issue

NumberNEQ applies the NEQ predicate on the "number" field.

func NumberNotIn

func NumberNotIn(vs ...int64) predicate.Issue

NumberNotIn applies the NotIn predicate on the "number" field.

func Or

func Or(predicates ...predicate.Issue) predicate.Issue

Or groups predicates with the OR operator between them.

func RepositoryURL

func RepositoryURL(v string) predicate.Issue

RepositoryURL applies equality check predicate on the "repository_url" field. It's identical to RepositoryURLEQ.

func RepositoryURLContains

func RepositoryURLContains(v string) predicate.Issue

RepositoryURLContains applies the Contains predicate on the "repository_url" field.

func RepositoryURLContainsFold

func RepositoryURLContainsFold(v string) predicate.Issue

RepositoryURLContainsFold applies the ContainsFold predicate on the "repository_url" field.

func RepositoryURLEQ

func RepositoryURLEQ(v string) predicate.Issue

RepositoryURLEQ applies the EQ predicate on the "repository_url" field.

func RepositoryURLEqualFold

func RepositoryURLEqualFold(v string) predicate.Issue

RepositoryURLEqualFold applies the EqualFold predicate on the "repository_url" field.

func RepositoryURLGT

func RepositoryURLGT(v string) predicate.Issue

RepositoryURLGT applies the GT predicate on the "repository_url" field.

func RepositoryURLGTE

func RepositoryURLGTE(v string) predicate.Issue

RepositoryURLGTE applies the GTE predicate on the "repository_url" field.

func RepositoryURLHasPrefix

func RepositoryURLHasPrefix(v string) predicate.Issue

RepositoryURLHasPrefix applies the HasPrefix predicate on the "repository_url" field.

func RepositoryURLHasSuffix

func RepositoryURLHasSuffix(v string) predicate.Issue

RepositoryURLHasSuffix applies the HasSuffix predicate on the "repository_url" field.

func RepositoryURLIn

func RepositoryURLIn(vs ...string) predicate.Issue

RepositoryURLIn applies the In predicate on the "repository_url" field.

func RepositoryURLLT

func RepositoryURLLT(v string) predicate.Issue

RepositoryURLLT applies the LT predicate on the "repository_url" field.

func RepositoryURLLTE

func RepositoryURLLTE(v string) predicate.Issue

RepositoryURLLTE applies the LTE predicate on the "repository_url" field.

func RepositoryURLNEQ

func RepositoryURLNEQ(v string) predicate.Issue

RepositoryURLNEQ applies the NEQ predicate on the "repository_url" field.

func RepositoryURLNotIn

func RepositoryURLNotIn(vs ...string) predicate.Issue

RepositoryURLNotIn applies the NotIn predicate on the "repository_url" field.

func State

func State(v string) predicate.Issue

State applies equality check predicate on the "state" field. It's identical to StateEQ.

func StateContains

func StateContains(v string) predicate.Issue

StateContains applies the Contains predicate on the "state" field.

func StateContainsFold

func StateContainsFold(v string) predicate.Issue

StateContainsFold applies the ContainsFold predicate on the "state" field.

func StateEQ

func StateEQ(v string) predicate.Issue

StateEQ applies the EQ predicate on the "state" field.

func StateEqualFold

func StateEqualFold(v string) predicate.Issue

StateEqualFold applies the EqualFold predicate on the "state" field.

func StateGT

func StateGT(v string) predicate.Issue

StateGT applies the GT predicate on the "state" field.

func StateGTE

func StateGTE(v string) predicate.Issue

StateGTE applies the GTE predicate on the "state" field.

func StateHasPrefix

func StateHasPrefix(v string) predicate.Issue

StateHasPrefix applies the HasPrefix predicate on the "state" field.

func StateHasSuffix

func StateHasSuffix(v string) predicate.Issue

StateHasSuffix applies the HasSuffix predicate on the "state" field.

func StateIn

func StateIn(vs ...string) predicate.Issue

StateIn applies the In predicate on the "state" field.

func StateLT

func StateLT(v string) predicate.Issue

StateLT applies the LT predicate on the "state" field.

func StateLTE

func StateLTE(v string) predicate.Issue

StateLTE applies the LTE predicate on the "state" field.

func StateNEQ

func StateNEQ(v string) predicate.Issue

StateNEQ applies the NEQ predicate on the "state" field.

func StateNotIn

func StateNotIn(vs ...string) predicate.Issue

StateNotIn applies the NotIn predicate on the "state" field.

func StateReasonEQ

func StateReasonEQ(v StateReason) predicate.Issue

StateReasonEQ applies the EQ predicate on the "state_reason" field.

func StateReasonIn

func StateReasonIn(vs ...StateReason) predicate.Issue

StateReasonIn applies the In predicate on the "state_reason" field.

func StateReasonIsNil

func StateReasonIsNil() predicate.Issue

StateReasonIsNil applies the IsNil predicate on the "state_reason" field.

func StateReasonNEQ

func StateReasonNEQ(v StateReason) predicate.Issue

StateReasonNEQ applies the NEQ predicate on the "state_reason" field.

func StateReasonNotIn

func StateReasonNotIn(vs ...StateReason) predicate.Issue

StateReasonNotIn applies the NotIn predicate on the "state_reason" field.

func StateReasonNotNil

func StateReasonNotNil() predicate.Issue

StateReasonNotNil applies the NotNil predicate on the "state_reason" field.

func StateReasonValidator

func StateReasonValidator(sr StateReason) error

StateReasonValidator is a validator for the "state_reason" field enum values. It is called by the builders before save.

func Title

func Title(v string) predicate.Issue

Title applies equality check predicate on the "title" field. It's identical to TitleEQ.

func TitleContains

func TitleContains(v string) predicate.Issue

TitleContains applies the Contains predicate on the "title" field.

func TitleContainsFold

func TitleContainsFold(v string) predicate.Issue

TitleContainsFold applies the ContainsFold predicate on the "title" field.

func TitleEQ

func TitleEQ(v string) predicate.Issue

TitleEQ applies the EQ predicate on the "title" field.

func TitleEqualFold

func TitleEqualFold(v string) predicate.Issue

TitleEqualFold applies the EqualFold predicate on the "title" field.

func TitleGT

func TitleGT(v string) predicate.Issue

TitleGT applies the GT predicate on the "title" field.

func TitleGTE

func TitleGTE(v string) predicate.Issue

TitleGTE applies the GTE predicate on the "title" field.

func TitleHasPrefix

func TitleHasPrefix(v string) predicate.Issue

TitleHasPrefix applies the HasPrefix predicate on the "title" field.

func TitleHasSuffix

func TitleHasSuffix(v string) predicate.Issue

TitleHasSuffix applies the HasSuffix predicate on the "title" field.

func TitleIn

func TitleIn(vs ...string) predicate.Issue

TitleIn applies the In predicate on the "title" field.

func TitleLT

func TitleLT(v string) predicate.Issue

TitleLT applies the LT predicate on the "title" field.

func TitleLTE

func TitleLTE(v string) predicate.Issue

TitleLTE applies the LTE predicate on the "title" field.

func TitleNEQ

func TitleNEQ(v string) predicate.Issue

TitleNEQ applies the NEQ predicate on the "title" field.

func TitleNotIn

func TitleNotIn(vs ...string) predicate.Issue

TitleNotIn applies the NotIn predicate on the "title" field.

func URL

func URL(v string) predicate.Issue

URL applies equality check predicate on the "url" field. It's identical to URLEQ.

func URLContains

func URLContains(v string) predicate.Issue

URLContains applies the Contains predicate on the "url" field.

func URLContainsFold

func URLContainsFold(v string) predicate.Issue

URLContainsFold applies the ContainsFold predicate on the "url" field.

func URLEQ

func URLEQ(v string) predicate.Issue

URLEQ applies the EQ predicate on the "url" field.

func URLEqualFold

func URLEqualFold(v string) predicate.Issue

URLEqualFold applies the EqualFold predicate on the "url" field.

func URLGT

func URLGT(v string) predicate.Issue

URLGT applies the GT predicate on the "url" field.

func URLGTE

func URLGTE(v string) predicate.Issue

URLGTE applies the GTE predicate on the "url" field.

func URLHasPrefix

func URLHasPrefix(v string) predicate.Issue

URLHasPrefix applies the HasPrefix predicate on the "url" field.

func URLHasSuffix

func URLHasSuffix(v string) predicate.Issue

URLHasSuffix applies the HasSuffix predicate on the "url" field.

func URLIn

func URLIn(vs ...string) predicate.Issue

URLIn applies the In predicate on the "url" field.

func URLLT

func URLLT(v string) predicate.Issue

URLLT applies the LT predicate on the "url" field.

func URLLTE

func URLLTE(v string) predicate.Issue

URLLTE applies the LTE predicate on the "url" field.

func URLNEQ

func URLNEQ(v string) predicate.Issue

URLNEQ applies the NEQ predicate on the "url" field.

func URLNotIn

func URLNotIn(vs ...string) predicate.Issue

URLNotIn applies the NotIn predicate on the "url" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.Issue

UpdatedAt applies equality check predicate on the "updated_at" field. It's identical to UpdatedAtEQ.

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.Issue

UpdatedAtEQ applies the EQ predicate on the "updated_at" field.

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.Issue

UpdatedAtGT applies the GT predicate on the "updated_at" field.

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.Issue

UpdatedAtGTE applies the GTE predicate on the "updated_at" field.

func UpdatedAtIn

func UpdatedAtIn(vs ...time.Time) predicate.Issue

UpdatedAtIn applies the In predicate on the "updated_at" field.

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.Issue

UpdatedAtLT applies the LT predicate on the "updated_at" field.

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.Issue

UpdatedAtLTE applies the LTE predicate on the "updated_at" field.

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.Issue

UpdatedAtNEQ applies the NEQ predicate on the "updated_at" field.

func UpdatedAtNotIn

func UpdatedAtNotIn(vs ...time.Time) predicate.Issue

UpdatedAtNotIn applies the NotIn predicate on the "updated_at" field.

func ValidColumn

func ValidColumn(column string) bool

ValidColumn reports if the column name is valid (part of the table columns).

Types

type AuthorAssociation

type AuthorAssociation string

AuthorAssociation defines the type for the "author_association" enum field.

const (
	AuthorAssociationCOLLABORATOR           AuthorAssociation = "COLLABORATOR"
	AuthorAssociationCONTRIBUTOR            AuthorAssociation = "CONTRIBUTOR"
	AuthorAssociationFIRST_TIMER            AuthorAssociation = "FIRST_TIMER"
	AuthorAssociationFIRST_TIME_CONTRIBUTOR AuthorAssociation = "FIRST_TIME_CONTRIBUTOR"
	AuthorAssociationMANNEQUIN              AuthorAssociation = "MANNEQUIN"
	AuthorAssociationMEMBER                 AuthorAssociation = "MEMBER"
	AuthorAssociationNONE                   AuthorAssociation = "NONE"
	AuthorAssociationOWNER                  AuthorAssociation = "OWNER"
)

AuthorAssociation values.

func (AuthorAssociation) String

func (aa AuthorAssociation) String() string

type OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the Issue queries.

func ByActiveLockReason

func ByActiveLockReason(opts ...sql.OrderTermOption) OrderOption

ByActiveLockReason orders the results by the active_lock_reason field.

func ByAssignees

func ByAssignees(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByAssignees orders the results by assignees terms.

func ByAssigneesCount

func ByAssigneesCount(opts ...sql.OrderTermOption) OrderOption

ByAssigneesCount orders the results by assignees count.

func ByAuthorAssociation

func ByAuthorAssociation(opts ...sql.OrderTermOption) OrderOption

ByAuthorAssociation orders the results by the author_association field.

func ByBody

func ByBody(opts ...sql.OrderTermOption) OrderOption

ByBody orders the results by the body field.

func ByClosedAt

func ByClosedAt(opts ...sql.OrderTermOption) OrderOption

ByClosedAt orders the results by the closed_at field.

func ByClosedByField

func ByClosedByField(field string, opts ...sql.OrderTermOption) OrderOption

ByClosedByField orders the results by closed_by field.

func ByComments

func ByComments(term sql.OrderTerm, terms ...sql.OrderTerm) OrderOption

ByComments orders the results by comments terms.

func ByCommentsCount

func ByCommentsCount(opts ...sql.OrderTermOption) OrderOption

ByCommentsCount orders the results by comments count.

func ByCommentsURL

func ByCommentsURL(opts ...sql.OrderTermOption) OrderOption

ByCommentsURL orders the results by the comments_url field.

func ByCreatedAt

func ByCreatedAt(opts ...sql.OrderTermOption) OrderOption

ByCreatedAt orders the results by the created_at field.

func ByDraft

func ByDraft(opts ...sql.OrderTermOption) OrderOption

ByDraft orders the results by the draft field.

func ByEventsURL

func ByEventsURL(opts ...sql.OrderTermOption) OrderOption

ByEventsURL orders the results by the events_url field.

func ByHTMLURL

func ByHTMLURL(opts ...sql.OrderTermOption) OrderOption

ByHTMLURL orders the results by the html_url field.

func ByID

func ByID(opts ...sql.OrderTermOption) OrderOption

ByID orders the results by the id field.

func ByLabelsURL

func ByLabelsURL(opts ...sql.OrderTermOption) OrderOption

ByLabelsURL orders the results by the labels_url field.

func ByLocked

func ByLocked(opts ...sql.OrderTermOption) OrderOption

ByLocked orders the results by the locked field.

func ByNodeID

func ByNodeID(opts ...sql.OrderTermOption) OrderOption

ByNodeID orders the results by the node_id field.

func ByNumber

func ByNumber(opts ...sql.OrderTermOption) OrderOption

ByNumber orders the results by the number field.

func ByRepositoryField

func ByRepositoryField(field string, opts ...sql.OrderTermOption) OrderOption

ByRepositoryField orders the results by repository field.

func ByRepositoryURL

func ByRepositoryURL(opts ...sql.OrderTermOption) OrderOption

ByRepositoryURL orders the results by the repository_url field.

func ByState

func ByState(opts ...sql.OrderTermOption) OrderOption

ByState orders the results by the state field.

func ByStateReason

func ByStateReason(opts ...sql.OrderTermOption) OrderOption

ByStateReason orders the results by the state_reason field.

func ByTitle

func ByTitle(opts ...sql.OrderTermOption) OrderOption

ByTitle orders the results by the title field.

func ByURL

func ByURL(opts ...sql.OrderTermOption) OrderOption

ByURL orders the results by the url field.

func ByUpdatedAt

func ByUpdatedAt(opts ...sql.OrderTermOption) OrderOption

ByUpdatedAt orders the results by the updated_at field.

func ByUserField

func ByUserField(field string, opts ...sql.OrderTermOption) OrderOption

ByUserField orders the results by user field.

type StateReason

type StateReason string

StateReason defines the type for the "state_reason" enum field.

const (
	StateReasonCompleted  StateReason = "completed"
	StateReasonReopened   StateReason = "reopened"
	StateReasonNotPlanned StateReason = "not_planned"
)

StateReason values.

func (StateReason) String

func (sr StateReason) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL