base

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrKeyNotFound added in v0.6.0

func ErrKeyNotFound(key any) error

func ErrOutOfBounds added in v0.6.0

func ErrOutOfBounds(index int) error

func ErrType added in v0.6.0

func ErrType(t any) error

func MarshalJSON added in v0.6.0

func MarshalJSON(data any) ([]byte, error)

func UnmarshalJSON added in v0.6.0

func UnmarshalJSON(src []byte, data any) error

Types

type Marshaler added in v0.6.0

type Marshaler interface {
	any
	MarshalJSON() ([]byte, error)
	UnmarshalJSON([]byte) error
}

type Stringer added in v0.6.0

type Stringer interface {
	any
	String() string
}

type Value

type Value constraints.Ordered

Jump to

Keyboard shortcuts

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