Documentation ¶ Index ¶ type Maybe func (m *Maybe[T]) Set(v T) type PetTag func (p PetTag) MarshalJSON() ([]byte, error) func (p *PetTag) UnmarshalJSON(v []byte) error type ShopType func (s *ShopType) ParseString(v string) error func (s ShopType) String() string func (s ShopType) Strings() []string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Maybe ¶ added in v0.1.6 type Maybe[T any] struct { IsSet bool Value T } func (*Maybe[T]) Set ¶ added in v0.1.6 func (m *Maybe[T]) Set(v T) type PetTag ¶ type PetTag struct { V string } func (PetTag) MarshalJSON ¶ added in v0.1.4 func (p PetTag) MarshalJSON() ([]byte, error) func (*PetTag) UnmarshalJSON ¶ added in v0.1.4 func (p *PetTag) UnmarshalJSON(v []byte) error type ShopType ¶ type ShopType struct { V string } func (*ShopType) ParseString ¶ added in v0.1.15 func (s *ShopType) ParseString(v string) error func (ShopType) String ¶ func (s ShopType) String() string func (ShopType) Strings ¶ added in v0.1.6 func (s ShopType) Strings() []string Source Files ¶ View all Source files custom_type.go Click to show internal directories. Click to hide internal directories.