pkg

package
v0.1.29 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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 Just added in v0.1.24

func Just[T any](v T) Maybe[T]

func (Maybe[T]) Get added in v0.1.28

func (m Maybe[T]) Get() (zero T, _ bool)

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) String added in v0.1.28

func (p PetTag) String() string

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

Jump to

Keyboard shortcuts

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