Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AllOrderDirection = []OrderDirection{ OrderDirectionAscending, OrderDirectionDescending, }
View Source
var AllUserOrderField = []UserOrderField{ UserOrderFieldFirstName, UserOrderFieldLastName, UserOrderFieldEmail, }
Functions ¶
This section is empty.
Types ¶
type OrderDirection ¶
type OrderDirection string
const ( OrderDirectionAscending OrderDirection = "ASCENDING" OrderDirectionDescending OrderDirection = "DESCENDING" )
func (OrderDirection) IsValid ¶
func (e OrderDirection) IsValid() bool
func (OrderDirection) MarshalGQL ¶
func (e OrderDirection) MarshalGQL(w io.Writer)
func (OrderDirection) MarshalJSON ¶
func (e OrderDirection) MarshalJSON() ([]byte, error)
func (OrderDirection) String ¶
func (e OrderDirection) String() string
func (*OrderDirection) UnmarshalGQL ¶
func (e *OrderDirection) UnmarshalGQL(v any) error
func (*OrderDirection) UnmarshalJSON ¶
func (e *OrderDirection) UnmarshalJSON(b []byte) error
type UserConnection ¶
type UserOrderBy ¶
type UserOrderBy struct {
OrderByField UserOrderField `json:"orderByField"`
OrderByDirection OrderDirection `json:"orderByDirection"`
}
type UserOrderField ¶
type UserOrderField string
const ( UserOrderFieldFirstName UserOrderField = "FIRST_NAME" UserOrderFieldLastName UserOrderField = "LAST_NAME" UserOrderFieldEmail UserOrderField = "EMAIL" )
func (UserOrderField) IsValid ¶
func (e UserOrderField) IsValid() bool
func (UserOrderField) MarshalGQL ¶
func (e UserOrderField) MarshalGQL(w io.Writer)
func (UserOrderField) MarshalJSON ¶
func (e UserOrderField) MarshalJSON() ([]byte, error)
func (UserOrderField) String ¶
func (e UserOrderField) String() string
func (*UserOrderField) UnmarshalGQL ¶
func (e *UserOrderField) UnmarshalGQL(v any) error
func (*UserOrderField) UnmarshalJSON ¶
func (e *UserOrderField) UnmarshalJSON(b []byte) error
Click to show internal directories.
Click to hide internal directories.