errorreport

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Label holds the string label denoting the errorreport type in the database.
	Label = "error_report"
	// 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"
	// FieldPageURL holds the string denoting the page_url field in the database.
	FieldPageURL = "page_url"
	// FieldSelectedText holds the string denoting the selected_text field in the database.
	FieldSelectedText = "selected_text"
	// FieldComment holds the string denoting the comment field in the database.
	FieldComment = "comment"
	// FieldClientIP holds the string denoting the client_ip field in the database.
	FieldClientIP = "client_ip"
	// FieldUserAgent holds the string denoting the user_agent field in the database.
	FieldUserAgent = "user_agent"
	// FieldCreatedAt holds the string denoting the created_at field in the database.
	FieldCreatedAt = "created_at"
	// FieldResolvedAt holds the string denoting the resolved_at field in the database.
	FieldResolvedAt = "resolved_at"
	// Table holds the table name of the errorreport in the database.
	Table = "error_reports"
)

Variables

View Source
var (
	// PageURLValidator is a validator for the "page_url" field. It is called by the builders before save.
	PageURLValidator func(string) error
	// ClientIPValidator is a validator for the "client_ip" field. It is called by the builders before save.
	ClientIPValidator func(string) error
	// UserAgentValidator is a validator for the "user_agent" field. It is called by the builders before save.
	UserAgentValidator func(string) error
)

Columns holds all SQL columns for errorreport fields.

Functions

func And

func And(predicates ...predicate.ErrorReport) predicate.ErrorReport

And groups predicates with the AND operator between them.

func ClientIP

func ClientIP(v string) predicate.ErrorReport

ClientIP applies equality check predicate on the "client_ip" field. It's identical to ClientIPEQ.

func ClientIPContains

func ClientIPContains(v string) predicate.ErrorReport

ClientIPContains applies the Contains predicate on the "client_ip" field.

func ClientIPContainsFold

func ClientIPContainsFold(v string) predicate.ErrorReport

ClientIPContainsFold applies the ContainsFold predicate on the "client_ip" field.

func ClientIPEQ

func ClientIPEQ(v string) predicate.ErrorReport

ClientIPEQ applies the EQ predicate on the "client_ip" field.

func ClientIPEqualFold

func ClientIPEqualFold(v string) predicate.ErrorReport

ClientIPEqualFold applies the EqualFold predicate on the "client_ip" field.

func ClientIPGT

func ClientIPGT(v string) predicate.ErrorReport

ClientIPGT applies the GT predicate on the "client_ip" field.

func ClientIPGTE

func ClientIPGTE(v string) predicate.ErrorReport

ClientIPGTE applies the GTE predicate on the "client_ip" field.

func ClientIPHasPrefix

func ClientIPHasPrefix(v string) predicate.ErrorReport

ClientIPHasPrefix applies the HasPrefix predicate on the "client_ip" field.

func ClientIPHasSuffix

func ClientIPHasSuffix(v string) predicate.ErrorReport

ClientIPHasSuffix applies the HasSuffix predicate on the "client_ip" field.

func ClientIPIn

func ClientIPIn(vs ...string) predicate.ErrorReport

ClientIPIn applies the In predicate on the "client_ip" field.

func ClientIPIsNil

func ClientIPIsNil() predicate.ErrorReport

ClientIPIsNil applies the IsNil predicate on the "client_ip" field.

func ClientIPLT

func ClientIPLT(v string) predicate.ErrorReport

ClientIPLT applies the LT predicate on the "client_ip" field.

func ClientIPLTE

func ClientIPLTE(v string) predicate.ErrorReport

ClientIPLTE applies the LTE predicate on the "client_ip" field.

func ClientIPNEQ

func ClientIPNEQ(v string) predicate.ErrorReport

ClientIPNEQ applies the NEQ predicate on the "client_ip" field.

func ClientIPNotIn

func ClientIPNotIn(vs ...string) predicate.ErrorReport

ClientIPNotIn applies the NotIn predicate on the "client_ip" field.

func ClientIPNotNil

func ClientIPNotNil() predicate.ErrorReport

ClientIPNotNil applies the NotNil predicate on the "client_ip" field.

func Comment

func Comment(v string) predicate.ErrorReport

Comment applies equality check predicate on the "comment" field. It's identical to CommentEQ.

func CommentContains

func CommentContains(v string) predicate.ErrorReport

CommentContains applies the Contains predicate on the "comment" field.

func CommentContainsFold

func CommentContainsFold(v string) predicate.ErrorReport

CommentContainsFold applies the ContainsFold predicate on the "comment" field.

func CommentEQ

func CommentEQ(v string) predicate.ErrorReport

CommentEQ applies the EQ predicate on the "comment" field.

func CommentEqualFold

func CommentEqualFold(v string) predicate.ErrorReport

CommentEqualFold applies the EqualFold predicate on the "comment" field.

func CommentGT

func CommentGT(v string) predicate.ErrorReport

CommentGT applies the GT predicate on the "comment" field.

func CommentGTE

func CommentGTE(v string) predicate.ErrorReport

CommentGTE applies the GTE predicate on the "comment" field.

func CommentHasPrefix

func CommentHasPrefix(v string) predicate.ErrorReport

CommentHasPrefix applies the HasPrefix predicate on the "comment" field.

func CommentHasSuffix

func CommentHasSuffix(v string) predicate.ErrorReport

CommentHasSuffix applies the HasSuffix predicate on the "comment" field.

func CommentIn

func CommentIn(vs ...string) predicate.ErrorReport

CommentIn applies the In predicate on the "comment" field.

func CommentIsNil

func CommentIsNil() predicate.ErrorReport

CommentIsNil applies the IsNil predicate on the "comment" field.

func CommentLT

func CommentLT(v string) predicate.ErrorReport

CommentLT applies the LT predicate on the "comment" field.

func CommentLTE

func CommentLTE(v string) predicate.ErrorReport

CommentLTE applies the LTE predicate on the "comment" field.

func CommentNEQ

func CommentNEQ(v string) predicate.ErrorReport

CommentNEQ applies the NEQ predicate on the "comment" field.

func CommentNotIn

func CommentNotIn(vs ...string) predicate.ErrorReport

CommentNotIn applies the NotIn predicate on the "comment" field.

func CommentNotNil

func CommentNotNil() predicate.ErrorReport

CommentNotNil applies the NotNil predicate on the "comment" field.

func CreatedAt

func CreatedAt(v time.Time) predicate.ErrorReport

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

func CreatedAtEQ

func CreatedAtEQ(v time.Time) predicate.ErrorReport

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

func CreatedAtGT

func CreatedAtGT(v time.Time) predicate.ErrorReport

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

func CreatedAtGTE

func CreatedAtGTE(v time.Time) predicate.ErrorReport

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

func CreatedAtIn

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

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

func CreatedAtLT

func CreatedAtLT(v time.Time) predicate.ErrorReport

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

func CreatedAtLTE

func CreatedAtLTE(v time.Time) predicate.ErrorReport

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

func CreatedAtNEQ

func CreatedAtNEQ(v time.Time) predicate.ErrorReport

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

func CreatedAtNotIn

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

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

func ID

func ID(id int) predicate.ErrorReport

ID filters vertices based on their ID field.

func IDEQ

func IDEQ(id int) predicate.ErrorReport

IDEQ applies the EQ predicate on the ID field.

func IDGT

func IDGT(id int) predicate.ErrorReport

IDGT applies the GT predicate on the ID field.

func IDGTE

func IDGTE(id int) predicate.ErrorReport

IDGTE applies the GTE predicate on the ID field.

func IDIn

func IDIn(ids ...int) predicate.ErrorReport

IDIn applies the In predicate on the ID field.

func IDLT

func IDLT(id int) predicate.ErrorReport

IDLT applies the LT predicate on the ID field.

func IDLTE

func IDLTE(id int) predicate.ErrorReport

IDLTE applies the LTE predicate on the ID field.

func IDNEQ

func IDNEQ(id int) predicate.ErrorReport

IDNEQ applies the NEQ predicate on the ID field.

func IDNotIn

func IDNotIn(ids ...int) predicate.ErrorReport

IDNotIn applies the NotIn predicate on the ID field.

func Not

Not applies the not operator on the given predicate.

func Or

func Or(predicates ...predicate.ErrorReport) predicate.ErrorReport

Or groups predicates with the OR operator between them.

func PageURL

func PageURL(v string) predicate.ErrorReport

PageURL applies equality check predicate on the "page_url" field. It's identical to PageURLEQ.

func PageURLContains

func PageURLContains(v string) predicate.ErrorReport

PageURLContains applies the Contains predicate on the "page_url" field.

func PageURLContainsFold

func PageURLContainsFold(v string) predicate.ErrorReport

PageURLContainsFold applies the ContainsFold predicate on the "page_url" field.

func PageURLEQ

func PageURLEQ(v string) predicate.ErrorReport

PageURLEQ applies the EQ predicate on the "page_url" field.

func PageURLEqualFold

func PageURLEqualFold(v string) predicate.ErrorReport

PageURLEqualFold applies the EqualFold predicate on the "page_url" field.

func PageURLGT

func PageURLGT(v string) predicate.ErrorReport

PageURLGT applies the GT predicate on the "page_url" field.

func PageURLGTE

func PageURLGTE(v string) predicate.ErrorReport

PageURLGTE applies the GTE predicate on the "page_url" field.

func PageURLHasPrefix

func PageURLHasPrefix(v string) predicate.ErrorReport

PageURLHasPrefix applies the HasPrefix predicate on the "page_url" field.

func PageURLHasSuffix

func PageURLHasSuffix(v string) predicate.ErrorReport

PageURLHasSuffix applies the HasSuffix predicate on the "page_url" field.

func PageURLIn

func PageURLIn(vs ...string) predicate.ErrorReport

PageURLIn applies the In predicate on the "page_url" field.

func PageURLLT

func PageURLLT(v string) predicate.ErrorReport

PageURLLT applies the LT predicate on the "page_url" field.

func PageURLLTE

func PageURLLTE(v string) predicate.ErrorReport

PageURLLTE applies the LTE predicate on the "page_url" field.

func PageURLNEQ

func PageURLNEQ(v string) predicate.ErrorReport

PageURLNEQ applies the NEQ predicate on the "page_url" field.

func PageURLNotIn

func PageURLNotIn(vs ...string) predicate.ErrorReport

PageURLNotIn applies the NotIn predicate on the "page_url" field.

func ResolvedAt

func ResolvedAt(v time.Time) predicate.ErrorReport

ResolvedAt applies equality check predicate on the "resolved_at" field. It's identical to ResolvedAtEQ.

func ResolvedAtEQ

func ResolvedAtEQ(v time.Time) predicate.ErrorReport

ResolvedAtEQ applies the EQ predicate on the "resolved_at" field.

func ResolvedAtGT

func ResolvedAtGT(v time.Time) predicate.ErrorReport

ResolvedAtGT applies the GT predicate on the "resolved_at" field.

func ResolvedAtGTE

func ResolvedAtGTE(v time.Time) predicate.ErrorReport

ResolvedAtGTE applies the GTE predicate on the "resolved_at" field.

func ResolvedAtIn

func ResolvedAtIn(vs ...time.Time) predicate.ErrorReport

ResolvedAtIn applies the In predicate on the "resolved_at" field.

func ResolvedAtIsNil

func ResolvedAtIsNil() predicate.ErrorReport

ResolvedAtIsNil applies the IsNil predicate on the "resolved_at" field.

func ResolvedAtLT

func ResolvedAtLT(v time.Time) predicate.ErrorReport

ResolvedAtLT applies the LT predicate on the "resolved_at" field.

func ResolvedAtLTE

func ResolvedAtLTE(v time.Time) predicate.ErrorReport

ResolvedAtLTE applies the LTE predicate on the "resolved_at" field.

func ResolvedAtNEQ

func ResolvedAtNEQ(v time.Time) predicate.ErrorReport

ResolvedAtNEQ applies the NEQ predicate on the "resolved_at" field.

func ResolvedAtNotIn

func ResolvedAtNotIn(vs ...time.Time) predicate.ErrorReport

ResolvedAtNotIn applies the NotIn predicate on the "resolved_at" field.

func ResolvedAtNotNil

func ResolvedAtNotNil() predicate.ErrorReport

ResolvedAtNotNil applies the NotNil predicate on the "resolved_at" field.

func SelectedText

func SelectedText(v string) predicate.ErrorReport

SelectedText applies equality check predicate on the "selected_text" field. It's identical to SelectedTextEQ.

func SelectedTextContains

func SelectedTextContains(v string) predicate.ErrorReport

SelectedTextContains applies the Contains predicate on the "selected_text" field.

func SelectedTextContainsFold

func SelectedTextContainsFold(v string) predicate.ErrorReport

SelectedTextContainsFold applies the ContainsFold predicate on the "selected_text" field.

func SelectedTextEQ

func SelectedTextEQ(v string) predicate.ErrorReport

SelectedTextEQ applies the EQ predicate on the "selected_text" field.

func SelectedTextEqualFold

func SelectedTextEqualFold(v string) predicate.ErrorReport

SelectedTextEqualFold applies the EqualFold predicate on the "selected_text" field.

func SelectedTextGT

func SelectedTextGT(v string) predicate.ErrorReport

SelectedTextGT applies the GT predicate on the "selected_text" field.

func SelectedTextGTE

func SelectedTextGTE(v string) predicate.ErrorReport

SelectedTextGTE applies the GTE predicate on the "selected_text" field.

func SelectedTextHasPrefix

func SelectedTextHasPrefix(v string) predicate.ErrorReport

SelectedTextHasPrefix applies the HasPrefix predicate on the "selected_text" field.

func SelectedTextHasSuffix

func SelectedTextHasSuffix(v string) predicate.ErrorReport

SelectedTextHasSuffix applies the HasSuffix predicate on the "selected_text" field.

func SelectedTextIn

func SelectedTextIn(vs ...string) predicate.ErrorReport

SelectedTextIn applies the In predicate on the "selected_text" field.

func SelectedTextLT

func SelectedTextLT(v string) predicate.ErrorReport

SelectedTextLT applies the LT predicate on the "selected_text" field.

func SelectedTextLTE

func SelectedTextLTE(v string) predicate.ErrorReport

SelectedTextLTE applies the LTE predicate on the "selected_text" field.

func SelectedTextNEQ

func SelectedTextNEQ(v string) predicate.ErrorReport

SelectedTextNEQ applies the NEQ predicate on the "selected_text" field.

func SelectedTextNotIn

func SelectedTextNotIn(vs ...string) predicate.ErrorReport

SelectedTextNotIn applies the NotIn predicate on the "selected_text" field.

func UserAgent

func UserAgent(v string) predicate.ErrorReport

UserAgent applies equality check predicate on the "user_agent" field. It's identical to UserAgentEQ.

func UserAgentContains

func UserAgentContains(v string) predicate.ErrorReport

UserAgentContains applies the Contains predicate on the "user_agent" field.

func UserAgentContainsFold

func UserAgentContainsFold(v string) predicate.ErrorReport

UserAgentContainsFold applies the ContainsFold predicate on the "user_agent" field.

func UserAgentEQ

func UserAgentEQ(v string) predicate.ErrorReport

UserAgentEQ applies the EQ predicate on the "user_agent" field.

func UserAgentEqualFold

func UserAgentEqualFold(v string) predicate.ErrorReport

UserAgentEqualFold applies the EqualFold predicate on the "user_agent" field.

func UserAgentGT

func UserAgentGT(v string) predicate.ErrorReport

UserAgentGT applies the GT predicate on the "user_agent" field.

func UserAgentGTE

func UserAgentGTE(v string) predicate.ErrorReport

UserAgentGTE applies the GTE predicate on the "user_agent" field.

func UserAgentHasPrefix

func UserAgentHasPrefix(v string) predicate.ErrorReport

UserAgentHasPrefix applies the HasPrefix predicate on the "user_agent" field.

func UserAgentHasSuffix

func UserAgentHasSuffix(v string) predicate.ErrorReport

UserAgentHasSuffix applies the HasSuffix predicate on the "user_agent" field.

func UserAgentIn

func UserAgentIn(vs ...string) predicate.ErrorReport

UserAgentIn applies the In predicate on the "user_agent" field.

func UserAgentIsNil

func UserAgentIsNil() predicate.ErrorReport

UserAgentIsNil applies the IsNil predicate on the "user_agent" field.

func UserAgentLT

func UserAgentLT(v string) predicate.ErrorReport

UserAgentLT applies the LT predicate on the "user_agent" field.

func UserAgentLTE

func UserAgentLTE(v string) predicate.ErrorReport

UserAgentLTE applies the LTE predicate on the "user_agent" field.

func UserAgentNEQ

func UserAgentNEQ(v string) predicate.ErrorReport

UserAgentNEQ applies the NEQ predicate on the "user_agent" field.

func UserAgentNotIn

func UserAgentNotIn(vs ...string) predicate.ErrorReport

UserAgentNotIn applies the NotIn predicate on the "user_agent" field.

func UserAgentNotNil

func UserAgentNotNil() predicate.ErrorReport

UserAgentNotNil applies the NotNil predicate on the "user_agent" field.

func UserID

func UserID(v int) predicate.ErrorReport

UserID applies equality check predicate on the "user_id" field. It's identical to UserIDEQ.

func UserIDEQ

func UserIDEQ(v int) predicate.ErrorReport

UserIDEQ applies the EQ predicate on the "user_id" field.

func UserIDGT

func UserIDGT(v int) predicate.ErrorReport

UserIDGT applies the GT predicate on the "user_id" field.

func UserIDGTE

func UserIDGTE(v int) predicate.ErrorReport

UserIDGTE applies the GTE predicate on the "user_id" field.

func UserIDIn

func UserIDIn(vs ...int) predicate.ErrorReport

UserIDIn applies the In predicate on the "user_id" field.

func UserIDIsNil

func UserIDIsNil() predicate.ErrorReport

UserIDIsNil applies the IsNil predicate on the "user_id" field.

func UserIDLT

func UserIDLT(v int) predicate.ErrorReport

UserIDLT applies the LT predicate on the "user_id" field.

func UserIDLTE

func UserIDLTE(v int) predicate.ErrorReport

UserIDLTE applies the LTE predicate on the "user_id" field.

func UserIDNEQ

func UserIDNEQ(v int) predicate.ErrorReport

UserIDNEQ applies the NEQ predicate on the "user_id" field.

func UserIDNotIn

func UserIDNotIn(vs ...int) predicate.ErrorReport

UserIDNotIn applies the NotIn predicate on the "user_id" field.

func UserIDNotNil

func UserIDNotNil() predicate.ErrorReport

UserIDNotNil applies the NotNil predicate on the "user_id" 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 ErrorReport queries.

func ByClientIP

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

ByClientIP orders the results by the client_ip field.

func ByComment

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

ByComment orders the results by the comment field.

func ByCreatedAt

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

ByCreatedAt orders the results by the created_at field.

func ByID

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

ByID orders the results by the id field.

func ByPageURL

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

ByPageURL orders the results by the page_url field.

func ByResolvedAt

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

ByResolvedAt orders the results by the resolved_at field.

func BySelectedText

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

BySelectedText orders the results by the selected_text field.

func ByUserAgent

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

ByUserAgent orders the results by the user_agent field.

func ByUserID

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

ByUserID orders the results by the user_id field.

Jump to

Keyboard shortcuts

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