gqlgen: github.com/99designs/gqlgen/integration/models-go Index | Files

package models

import "github.com/99designs/gqlgen/integration/models-go"

Index

Package Files

element.go generated.go viewer.go

Variables

var AllDateFilterOp = []DateFilterOp{
    DateFilterOpEq,
    DateFilterOpNeq,
    DateFilterOpGt,
    DateFilterOpGte,
    DateFilterOpLt,
    DateFilterOpLte,
}
var AllErrorType = []ErrorType{
    ErrorTypeCustom,
    ErrorTypeNormal,
}

type DateFilter Uses

type DateFilter struct {
    Value    string        `json:"value"`
    Timezone *string       `json:"timezone"`
    Op       *DateFilterOp `json:"op"`
}

type DateFilterOp Uses

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 Uses

func (e DateFilterOp) IsValid() bool

func (DateFilterOp) MarshalGQL Uses

func (e DateFilterOp) MarshalGQL(w io.Writer)

func (DateFilterOp) String Uses

func (e DateFilterOp) String() string

func (*DateFilterOp) UnmarshalGQL Uses

func (e *DateFilterOp) UnmarshalGQL(v interface{}) error

type Element Uses

type Element struct {
    ID int
}

func (*Element) Mismatched Uses

func (e *Element) Mismatched() []Element

type ErrorType Uses

type ErrorType string
const (
    ErrorTypeCustom ErrorType = "CUSTOM"
    ErrorTypeNormal ErrorType = "NORMAL"
)

func (ErrorType) IsValid Uses

func (e ErrorType) IsValid() bool

func (ErrorType) MarshalGQL Uses

func (e ErrorType) MarshalGQL(w io.Writer)

func (ErrorType) String Uses

func (e ErrorType) String() string

func (*ErrorType) UnmarshalGQL Uses

func (e *ErrorType) UnmarshalGQL(v interface{}) error

type Viewer Uses

type Viewer struct {
    User *remote_api.User
}

Package models imports 4 packages (graph) and is imported by 4 packages. Updated 2019-03-04. Refresh now. Tools for package owners.