Versions in this module Expand all Collapse all v0 v0.12.4 Dec 27, 2023 v0.12.3 Dec 27, 2023 Changes in this version + func MarshalID(id external.ObjectID) graphql.Marshaler + func MarshalPreferences(p *Prefs) graphql.Marshaler + func MarshalTimestamp(t time.Time) graphql.Marshaler + func UnmarshalID(v interface{}) (external.ObjectID, error) + func UnmarshalTimestamp(v interface{}) (time.Time, error) + type Address struct + ID external.ObjectID + Location *Point + type Banned bool + func (b *Banned) UnmarshalGQL(v interface{}) error + func (b Banned) MarshalGQL(w io.Writer) + type Point struct + X int + Y int + func (p *Point) UnmarshalGQL(v interface{}) error + func (p Point) MarshalGQL(w io.Writer) + type Prefs struct + DarkMode bool + func UnmarshalPreferences(v interface{}) (*Prefs, error) + type SearchArgs struct + CreatedAfter *time.Time + IsBanned Banned + Location *Point + type Tier uint + const TierA + const TierB + const TierC + func TierForStr(str string) (Tier, error) + func (e *Tier) UnmarshalGQL(v interface{}) error + func (e Tier) IsValid() bool + func (e Tier) MarshalGQL(w io.Writer) + func (e Tier) String() string + type User struct + Address Address + Created time.Time + ID external.ObjectID + IsBanned Banned + Modified *time.Time + Name string + PtrPrefs *Prefs + Tier Tier + ValPrefs Prefs