Help us shape the future of Go! Take the 2026 Go Developer Survey

signupinvite

package
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the signupinvite type in the database.
	Label = "signup_invite"
	// FieldID holds the string denoting the id field in the database.
	FieldID = "id"
	// 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"
	// FieldEmail holds the string denoting the email field in the database.
	FieldEmail = "email"
	// FieldNote holds the string denoting the note field in the database.
	FieldNote = "note"
	// FieldInvitedBy holds the string denoting the invited_by field in the database.
	FieldInvitedBy = "invited_by"
	// FieldInvitedByPrincipalID holds the string denoting the invited_by_principal_id field in the database.
	FieldInvitedByPrincipalID = "invited_by_principal_id"
	// FieldExpiresAt holds the string denoting the expires_at field in the database.
	FieldExpiresAt = "expires_at"
	// FieldRedeemedAt holds the string denoting the redeemed_at field in the database.
	FieldRedeemedAt = "redeemed_at"
	// FieldRedeemedBy holds the string denoting the redeemed_by field in the database.
	FieldRedeemedBy = "redeemed_by"
	// Table holds the table name of the signupinvite in the database.
	Table = "sf_signup_invites"
)

Variables

View Source
var (
	// DefaultCreatedAt holds the default value on creation for the "created_at" field.
	DefaultCreatedAt func() time.Time
	// DefaultUpdatedAt holds the default value on creation for the "updated_at" field.
	DefaultUpdatedAt func() time.Time
	// UpdateDefaultUpdatedAt holds the default value on update for the "updated_at" field.
	UpdateDefaultUpdatedAt func() time.Time
	// EmailValidator is a validator for the "email" field. It is called by the builders before save.
	EmailValidator func(string) error
	// NoteValidator is a validator for the "note" field. It is called by the builders before save.
	NoteValidator func(string) error
	// InvitedByValidator is a validator for the "invited_by" field. It is called by the builders before save.
	InvitedByValidator func(string) error
	// DefaultID holds the default value on creation for the "id" field.
	DefaultID func() uuid.UUID
)

Columns holds all SQL columns for signupinvite fields.

Functions

func And

func And(predicates ...predicate.SignupInvite) predicate.SignupInvite

And groups predicates with the AND operator between them.

func CreatedAt

func CreatedAt(v time.Time) predicate.SignupInvite

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.SignupInvite

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.SignupInvite

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.SignupInvite

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.SignupInvite

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.SignupInvite

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.SignupInvite

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

func CreatedAtNotIn

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

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

func Email

func Email(v string) predicate.SignupInvite

Email applies equality check predicate on the "email" field. It's identical to EmailEQ.

func EmailContains

func EmailContains(v string) predicate.SignupInvite

EmailContains applies the Contains predicate on the "email" field.

func EmailContainsFold

func EmailContainsFold(v string) predicate.SignupInvite

EmailContainsFold applies the ContainsFold predicate on the "email" field.

func EmailEQ

func EmailEQ(v string) predicate.SignupInvite

EmailEQ applies the EQ predicate on the "email" field.

func EmailEqualFold

func EmailEqualFold(v string) predicate.SignupInvite

EmailEqualFold applies the EqualFold predicate on the "email" field.

func EmailGT

func EmailGT(v string) predicate.SignupInvite

EmailGT applies the GT predicate on the "email" field.

func EmailGTE

func EmailGTE(v string) predicate.SignupInvite

EmailGTE applies the GTE predicate on the "email" field.

func EmailHasPrefix

func EmailHasPrefix(v string) predicate.SignupInvite

EmailHasPrefix applies the HasPrefix predicate on the "email" field.

func EmailHasSuffix

func EmailHasSuffix(v string) predicate.SignupInvite

EmailHasSuffix applies the HasSuffix predicate on the "email" field.

func EmailIn

func EmailIn(vs ...string) predicate.SignupInvite

EmailIn applies the In predicate on the "email" field.

func EmailLT

func EmailLT(v string) predicate.SignupInvite

EmailLT applies the LT predicate on the "email" field.

func EmailLTE

func EmailLTE(v string) predicate.SignupInvite

EmailLTE applies the LTE predicate on the "email" field.

func EmailNEQ

func EmailNEQ(v string) predicate.SignupInvite

EmailNEQ applies the NEQ predicate on the "email" field.

func EmailNotIn

func EmailNotIn(vs ...string) predicate.SignupInvite

EmailNotIn applies the NotIn predicate on the "email" field.

func ExpiresAt

func ExpiresAt(v time.Time) predicate.SignupInvite

ExpiresAt applies equality check predicate on the "expires_at" field. It's identical to ExpiresAtEQ.

func ExpiresAtEQ

func ExpiresAtEQ(v time.Time) predicate.SignupInvite

ExpiresAtEQ applies the EQ predicate on the "expires_at" field.

func ExpiresAtGT

func ExpiresAtGT(v time.Time) predicate.SignupInvite

ExpiresAtGT applies the GT predicate on the "expires_at" field.

func ExpiresAtGTE

func ExpiresAtGTE(v time.Time) predicate.SignupInvite

ExpiresAtGTE applies the GTE predicate on the "expires_at" field.

func ExpiresAtIn

func ExpiresAtIn(vs ...time.Time) predicate.SignupInvite

ExpiresAtIn applies the In predicate on the "expires_at" field.

func ExpiresAtIsNil

func ExpiresAtIsNil() predicate.SignupInvite

ExpiresAtIsNil applies the IsNil predicate on the "expires_at" field.

func ExpiresAtLT

func ExpiresAtLT(v time.Time) predicate.SignupInvite

ExpiresAtLT applies the LT predicate on the "expires_at" field.

func ExpiresAtLTE

func ExpiresAtLTE(v time.Time) predicate.SignupInvite

ExpiresAtLTE applies the LTE predicate on the "expires_at" field.

func ExpiresAtNEQ

func ExpiresAtNEQ(v time.Time) predicate.SignupInvite

ExpiresAtNEQ applies the NEQ predicate on the "expires_at" field.

func ExpiresAtNotIn

func ExpiresAtNotIn(vs ...time.Time) predicate.SignupInvite

ExpiresAtNotIn applies the NotIn predicate on the "expires_at" field.

func ExpiresAtNotNil

func ExpiresAtNotNil() predicate.SignupInvite

ExpiresAtNotNil applies the NotNil predicate on the "expires_at" field.

func ID

ID filters vertices based on their ID field.

func IDEQ

IDEQ applies the EQ predicate on the ID field.

func IDGT

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id uuid.UUID) predicate.SignupInvite

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...uuid.UUID) predicate.SignupInvite

IDIn applies the In predicate on the ID field.

func IDLT

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id uuid.UUID) predicate.SignupInvite

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id uuid.UUID) predicate.SignupInvite

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...uuid.UUID) predicate.SignupInvite

IDNotIn applies the NotIn predicate on the ID field.

func InvitedBy

func InvitedBy(v string) predicate.SignupInvite

InvitedBy applies equality check predicate on the "invited_by" field. It's identical to InvitedByEQ.

func InvitedByContains

func InvitedByContains(v string) predicate.SignupInvite

InvitedByContains applies the Contains predicate on the "invited_by" field.

func InvitedByContainsFold

func InvitedByContainsFold(v string) predicate.SignupInvite

InvitedByContainsFold applies the ContainsFold predicate on the "invited_by" field.

func InvitedByEQ

func InvitedByEQ(v string) predicate.SignupInvite

InvitedByEQ applies the EQ predicate on the "invited_by" field.

func InvitedByEqualFold

func InvitedByEqualFold(v string) predicate.SignupInvite

InvitedByEqualFold applies the EqualFold predicate on the "invited_by" field.

func InvitedByGT

func InvitedByGT(v string) predicate.SignupInvite

InvitedByGT applies the GT predicate on the "invited_by" field.

func InvitedByGTE

func InvitedByGTE(v string) predicate.SignupInvite

InvitedByGTE applies the GTE predicate on the "invited_by" field.

func InvitedByHasPrefix

func InvitedByHasPrefix(v string) predicate.SignupInvite

InvitedByHasPrefix applies the HasPrefix predicate on the "invited_by" field.

func InvitedByHasSuffix

func InvitedByHasSuffix(v string) predicate.SignupInvite

InvitedByHasSuffix applies the HasSuffix predicate on the "invited_by" field.

func InvitedByIn

func InvitedByIn(vs ...string) predicate.SignupInvite

InvitedByIn applies the In predicate on the "invited_by" field.

func InvitedByIsNil

func InvitedByIsNil() predicate.SignupInvite

InvitedByIsNil applies the IsNil predicate on the "invited_by" field.

func InvitedByLT

func InvitedByLT(v string) predicate.SignupInvite

InvitedByLT applies the LT predicate on the "invited_by" field.

func InvitedByLTE

func InvitedByLTE(v string) predicate.SignupInvite

InvitedByLTE applies the LTE predicate on the "invited_by" field.

func InvitedByNEQ

func InvitedByNEQ(v string) predicate.SignupInvite

InvitedByNEQ applies the NEQ predicate on the "invited_by" field.

func InvitedByNotIn

func InvitedByNotIn(vs ...string) predicate.SignupInvite

InvitedByNotIn applies the NotIn predicate on the "invited_by" field.

func InvitedByNotNil

func InvitedByNotNil() predicate.SignupInvite

InvitedByNotNil applies the NotNil predicate on the "invited_by" field.

func InvitedByPrincipalID

func InvitedByPrincipalID(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalID applies equality check predicate on the "invited_by_principal_id" field. It's identical to InvitedByPrincipalIDEQ.

func InvitedByPrincipalIDEQ

func InvitedByPrincipalIDEQ(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDEQ applies the EQ predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDGT

func InvitedByPrincipalIDGT(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDGT applies the GT predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDGTE

func InvitedByPrincipalIDGTE(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDGTE applies the GTE predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDIn

func InvitedByPrincipalIDIn(vs ...uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDIn applies the In predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDIsNil

func InvitedByPrincipalIDIsNil() predicate.SignupInvite

InvitedByPrincipalIDIsNil applies the IsNil predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDLT

func InvitedByPrincipalIDLT(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDLT applies the LT predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDLTE

func InvitedByPrincipalIDLTE(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDLTE applies the LTE predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDNEQ

func InvitedByPrincipalIDNEQ(v uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDNEQ applies the NEQ predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDNotIn

func InvitedByPrincipalIDNotIn(vs ...uuid.UUID) predicate.SignupInvite

InvitedByPrincipalIDNotIn applies the NotIn predicate on the "invited_by_principal_id" field.

func InvitedByPrincipalIDNotNil

func InvitedByPrincipalIDNotNil() predicate.SignupInvite

InvitedByPrincipalIDNotNil applies the NotNil predicate on the "invited_by_principal_id" field.

func Not

Not applies the not operator on the given predicate.

func Note

Note applies equality check predicate on the "note" field. It's identical to NoteEQ.

func NoteContains

func NoteContains(v string) predicate.SignupInvite

NoteContains applies the Contains predicate on the "note" field.

func NoteContainsFold

func NoteContainsFold(v string) predicate.SignupInvite

NoteContainsFold applies the ContainsFold predicate on the "note" field.

func NoteEQ

func NoteEQ(v string) predicate.SignupInvite

NoteEQ applies the EQ predicate on the "note" field.

func NoteEqualFold

func NoteEqualFold(v string) predicate.SignupInvite

NoteEqualFold applies the EqualFold predicate on the "note" field.

func NoteGT

func NoteGT(v string) predicate.SignupInvite

NoteGT applies the GT predicate on the "note" field.

func NoteGTE

func NoteGTE(v string) predicate.SignupInvite

NoteGTE applies the GTE predicate on the "note" field.

func NoteHasPrefix

func NoteHasPrefix(v string) predicate.SignupInvite

NoteHasPrefix applies the HasPrefix predicate on the "note" field.

func NoteHasSuffix

func NoteHasSuffix(v string) predicate.SignupInvite

NoteHasSuffix applies the HasSuffix predicate on the "note" field.

func NoteIn

func NoteIn(vs ...string) predicate.SignupInvite

NoteIn applies the In predicate on the "note" field.

func NoteIsNil

func NoteIsNil() predicate.SignupInvite

NoteIsNil applies the IsNil predicate on the "note" field.

func NoteLT

func NoteLT(v string) predicate.SignupInvite

NoteLT applies the LT predicate on the "note" field.

func NoteLTE

func NoteLTE(v string) predicate.SignupInvite

NoteLTE applies the LTE predicate on the "note" field.

func NoteNEQ

func NoteNEQ(v string) predicate.SignupInvite

NoteNEQ applies the NEQ predicate on the "note" field.

func NoteNotIn

func NoteNotIn(vs ...string) predicate.SignupInvite

NoteNotIn applies the NotIn predicate on the "note" field.

func NoteNotNil

func NoteNotNil() predicate.SignupInvite

NoteNotNil applies the NotNil predicate on the "note" field.

func Or

func Or(predicates ...predicate.SignupInvite) predicate.SignupInvite

Or groups predicates with the OR operator between them.

func RedeemedAt

func RedeemedAt(v time.Time) predicate.SignupInvite

RedeemedAt applies equality check predicate on the "redeemed_at" field. It's identical to RedeemedAtEQ.

func RedeemedAtEQ

func RedeemedAtEQ(v time.Time) predicate.SignupInvite

RedeemedAtEQ applies the EQ predicate on the "redeemed_at" field.

func RedeemedAtGT

func RedeemedAtGT(v time.Time) predicate.SignupInvite

RedeemedAtGT applies the GT predicate on the "redeemed_at" field.

func RedeemedAtGTE

func RedeemedAtGTE(v time.Time) predicate.SignupInvite

RedeemedAtGTE applies the GTE predicate on the "redeemed_at" field.

func RedeemedAtIn

func RedeemedAtIn(vs ...time.Time) predicate.SignupInvite

RedeemedAtIn applies the In predicate on the "redeemed_at" field.

func RedeemedAtIsNil

func RedeemedAtIsNil() predicate.SignupInvite

RedeemedAtIsNil applies the IsNil predicate on the "redeemed_at" field.

func RedeemedAtLT

func RedeemedAtLT(v time.Time) predicate.SignupInvite

RedeemedAtLT applies the LT predicate on the "redeemed_at" field.

func RedeemedAtLTE

func RedeemedAtLTE(v time.Time) predicate.SignupInvite

RedeemedAtLTE applies the LTE predicate on the "redeemed_at" field.

func RedeemedAtNEQ

func RedeemedAtNEQ(v time.Time) predicate.SignupInvite

RedeemedAtNEQ applies the NEQ predicate on the "redeemed_at" field.

func RedeemedAtNotIn

func RedeemedAtNotIn(vs ...time.Time) predicate.SignupInvite

RedeemedAtNotIn applies the NotIn predicate on the "redeemed_at" field.

func RedeemedAtNotNil

func RedeemedAtNotNil() predicate.SignupInvite

RedeemedAtNotNil applies the NotNil predicate on the "redeemed_at" field.

func RedeemedBy

func RedeemedBy(v uuid.UUID) predicate.SignupInvite

RedeemedBy applies equality check predicate on the "redeemed_by" field. It's identical to RedeemedByEQ.

func RedeemedByEQ

func RedeemedByEQ(v uuid.UUID) predicate.SignupInvite

RedeemedByEQ applies the EQ predicate on the "redeemed_by" field.

func RedeemedByGT

func RedeemedByGT(v uuid.UUID) predicate.SignupInvite

RedeemedByGT applies the GT predicate on the "redeemed_by" field.

func RedeemedByGTE

func RedeemedByGTE(v uuid.UUID) predicate.SignupInvite

RedeemedByGTE applies the GTE predicate on the "redeemed_by" field.

func RedeemedByIn

func RedeemedByIn(vs ...uuid.UUID) predicate.SignupInvite

RedeemedByIn applies the In predicate on the "redeemed_by" field.

func RedeemedByIsNil

func RedeemedByIsNil() predicate.SignupInvite

RedeemedByIsNil applies the IsNil predicate on the "redeemed_by" field.

func RedeemedByLT

func RedeemedByLT(v uuid.UUID) predicate.SignupInvite

RedeemedByLT applies the LT predicate on the "redeemed_by" field.

func RedeemedByLTE

func RedeemedByLTE(v uuid.UUID) predicate.SignupInvite

RedeemedByLTE applies the LTE predicate on the "redeemed_by" field.

func RedeemedByNEQ

func RedeemedByNEQ(v uuid.UUID) predicate.SignupInvite

RedeemedByNEQ applies the NEQ predicate on the "redeemed_by" field.

func RedeemedByNotIn

func RedeemedByNotIn(vs ...uuid.UUID) predicate.SignupInvite

RedeemedByNotIn applies the NotIn predicate on the "redeemed_by" field.

func RedeemedByNotNil

func RedeemedByNotNil() predicate.SignupInvite

RedeemedByNotNil applies the NotNil predicate on the "redeemed_by" field.

func UpdatedAt

func UpdatedAt(v time.Time) predicate.SignupInvite

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

func UpdatedAtEQ

func UpdatedAtEQ(v time.Time) predicate.SignupInvite

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

func UpdatedAtGT

func UpdatedAtGT(v time.Time) predicate.SignupInvite

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

func UpdatedAtGTE

func UpdatedAtGTE(v time.Time) predicate.SignupInvite

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

func UpdatedAtIn

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

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

func UpdatedAtLT

func UpdatedAtLT(v time.Time) predicate.SignupInvite

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

func UpdatedAtLTE

func UpdatedAtLTE(v time.Time) predicate.SignupInvite

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

func UpdatedAtNEQ

func UpdatedAtNEQ(v time.Time) predicate.SignupInvite

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

func UpdatedAtNotIn

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

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 OrderOption

type OrderOption func(*sql.Selector)

OrderOption defines the ordering options for the SignupInvite queries.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByEmail

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

ByEmail orders the results by the email field.

func ByExpiresAt

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

ByExpiresAt orders the results by the expires_at field.

func ByID

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

ByID orders the results by the id field.

func ByInvitedBy

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

ByInvitedBy orders the results by the invited_by field.

func ByInvitedByPrincipalID

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

ByInvitedByPrincipalID orders the results by the invited_by_principal_id field.

func ByNote

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

ByNote orders the results by the note field.

func ByRedeemedAt

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

ByRedeemedAt orders the results by the redeemed_at field.

func ByRedeemedBy

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

ByRedeemedBy orders the results by the redeemed_by field.

func ByUpdatedAt

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

ByUpdatedAt orders the results by the updated_at field.

Jump to

Keyboard shortcuts

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