model

package
v0.0.0-...-6474820 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Compare

func Compare[T cmp.Ordered](a, b T, direction OrderDirection) int

Types

type Node

type Node interface {
	IsNode()
}

type OrderDirection

type OrderDirection string
const (
	OrderDirectionAsc  OrderDirection = "ASC"
	OrderDirectionDesc OrderDirection = "DESC"
)

func (OrderDirection) IsValid

func (e OrderDirection) IsValid() bool

func (OrderDirection) MarshalGQL

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

func (OrderDirection) String

func (e OrderDirection) String() string

func (*OrderDirection) UnmarshalGQL

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

type Weekday

type Weekday string

The days of the week.

const (
	// Monday
	WeekdayMonday Weekday = "MONDAY"
	// Tuesday
	WeekdayTuesday Weekday = "TUESDAY"
	// Wednesday
	WeekdayWednesday Weekday = "WEDNESDAY"
	// Thursday
	WeekdayThursday Weekday = "THURSDAY"
	// Friday
	WeekdayFriday Weekday = "FRIDAY"
	// Saturday
	WeekdaySaturday Weekday = "SATURDAY"
	// Sunday
	WeekdaySunday Weekday = "SUNDAY"
)

func (Weekday) IsValid

func (e Weekday) IsValid() bool

func (Weekday) MarshalGQL

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

func (Weekday) String

func (e Weekday) String() string

func (*Weekday) UnmarshalGQL

func (e *Weekday) UnmarshalGQL(v any) error

Jump to

Keyboard shortcuts

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