package models
import "github.com/99designs/gqlgen/integration/server/models-go"
Index ¶
- Variables
- type DateFilter
- type DateFilterOp
- func (e DateFilterOp) IsValid() bool
- func (e DateFilterOp) MarshalGQL(w io.Writer)
- func (e DateFilterOp) MarshalJSON() ([]byte, error)
- func (e DateFilterOp) String() string
- func (e *DateFilterOp) UnmarshalGQL(v any) error
- func (e *DateFilterOp) UnmarshalJSON(b []byte) error
- type Element
- type ErrorType
- func (e ErrorType) IsValid() bool
- func (e ErrorType) MarshalGQL(w io.Writer)
- func (e ErrorType) MarshalJSON() ([]byte, error)
- func (e ErrorType) String() string
- func (e *ErrorType) UnmarshalGQL(v any) error
- func (e *ErrorType) UnmarshalJSON(b []byte) error
- type ListCoercion
- type Query
- type Viewer
Variables ¶
var AllDateFilterOp = []DateFilterOp{ DateFilterOpEq, DateFilterOpNeq, DateFilterOpGt, DateFilterOpGte, DateFilterOpLt, DateFilterOpLte, }
var AllErrorType = []ErrorType{ ErrorTypeCustom, ErrorTypeNormal, }
Types ¶
type DateFilter ¶
type DateFilter struct { Value string `json:"value"` Timezone *string `json:"timezone,omitempty"` Op *DateFilterOp `json:"op,omitempty"` }
type DateFilterOp ¶
type DateFilterOp string
const ( DateFilterOpEq DateFilterOp = "EQ" DateFilterOpNeq DateFilterOp = "NEQ" DateFilterOpGt DateFilterOp = "GT" DateFilterOpGte DateFilterOp = "GTE" DateFilterOpLt DateFilterOp = "LT" DateFilterOpLte DateFilterOp = "LTE" )
func (DateFilterOp) IsValid ¶
func (e DateFilterOp) IsValid() bool
func (DateFilterOp) MarshalGQL ¶
func (e DateFilterOp) MarshalGQL(w io.Writer)
func (DateFilterOp) MarshalJSON ¶
func (e DateFilterOp) MarshalJSON() ([]byte, error)
func (DateFilterOp) String ¶
func (e DateFilterOp) String() string
func (*DateFilterOp) UnmarshalGQL ¶
func (e *DateFilterOp) UnmarshalGQL(v any) error
func (*DateFilterOp) UnmarshalJSON ¶
func (e *DateFilterOp) UnmarshalJSON(b []byte) error
type Element ¶
type Element struct { ID int }
func (*Element) Mismatched ¶
type ErrorType ¶
type ErrorType string
func (ErrorType) IsValid ¶
func (ErrorType) MarshalGQL ¶
func (ErrorType) MarshalJSON ¶
func (ErrorType) String ¶
func (*ErrorType) UnmarshalGQL ¶
func (*ErrorType) UnmarshalJSON ¶
type ListCoercion ¶
type ListCoercion struct { EnumVal []*ErrorType `json:"enumVal,omitempty"` StrVal []*string `json:"strVal,omitempty"` IntVal []*int `json:"intVal,omitempty"` ScalarVal []map[string]any `json:"scalarVal,omitempty"` }
type Query ¶
type Query struct { }
type Viewer ¶
type Viewer struct { User *remote_api.User }
Source Files ¶
element.go generated.go viewer.go
- Version
- v0.17.73 (latest)
- Published
- May 2, 2025
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 6 days ago –
Tools for package owners.