Documentation ¶
Index ¶
- Variables
- func ObjectMerge[T1 any, T2 any](base T1, override T2) T1
- func StructHash(dat any, opt ...StructHashOptions) (r []byte, err error)
- type BufferedReadCloser
- type LRUMap
- type Nonuple
- type Octuple
- type Quadruple
- type Quintuple
- type Septuple
- type Sextuple
- type Single
- type Stack
- type StructHashOptions
- type SyncSet
- type Triple
- type Tuple
- type ValueGroup
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrEmptyStack = errors.New("stack is empty")
Functions ¶
func ObjectMerge ¶ added in v0.0.20
func StructHash ¶ added in v0.0.32
func StructHash(dat any, opt ...StructHashOptions) (r []byte, err error)
Types ¶
type BufferedReadCloser ¶
type BufferedReadCloser interface { io.ReadCloser BufferedAll() ([]byte, error) Reset() error }
func NewBufferedReadCloser ¶
func NewBufferedReadCloser(sub io.ReadCloser) BufferedReadCloser
type LRUMap ¶
type LRUMap[TKey comparable, TData any] struct { // contains filtered or unexported fields }
type Nonuple ¶ added in v0.0.255
type Nonuple[T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any, T9 any] struct { V1 T1 V2 T2 V3 T3 V4 T4 V5 T5 V6 T6 V7 T7 V8 T8 V9 T9 }
func (Nonuple[T1, T2, T3, T4, T5, T6, T7, T8, T9]) TupleLength ¶ added in v0.0.255
func (Nonuple[T1, T2, T3, T4, T5, T6, T7, T8, T9]) TupleValues ¶ added in v0.0.255
type Octuple ¶ added in v0.0.255
type Octuple[T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any, T8 any] struct { V1 T1 V2 T2 V3 T3 V4 T4 V5 T5 V6 T6 V7 T7 V8 T8 }
func (Octuple[T1, T2, T3, T4, T5, T6, T7, T8]) TupleLength ¶ added in v0.0.255
func (Octuple[T1, T2, T3, T4, T5, T6, T7, T8]) TupleValues ¶ added in v0.0.255
type Quadruple ¶ added in v0.0.255
func (Quadruple[T1, T2, T3, T4]) TupleLength ¶ added in v0.0.255
func (Quadruple[T1, T2, T3, T4]) TupleValues ¶ added in v0.0.255
type Quintuple ¶ added in v0.0.255
func (Quintuple[T1, T2, T3, T4, T5]) TupleLength ¶ added in v0.0.255
func (Quintuple[T1, T2, T3, T4, T5]) TupleValues ¶ added in v0.0.255
type Septuple ¶ added in v0.0.255
type Septuple[T1 any, T2 any, T3 any, T4 any, T5 any, T6 any, T7 any] struct { V1 T1 V2 T2 V3 T3 V4 T4 V5 T5 V6 T6 V7 T7 }
func (Septuple[T1, T2, T3, T4, T5, T6, T7]) TupleLength ¶ added in v0.0.255
func (Septuple[T1, T2, T3, T4, T5, T6, T7]) TupleValues ¶ added in v0.0.255
type Sextuple ¶ added in v0.0.255
type Sextuple[T1 any, T2 any, T3 any, T4 any, T5 any, T6 any] struct { V1 T1 V2 T2 V3 T3 V4 T4 V5 T5 V6 T6 }
func (Sextuple[T1, T2, T3, T4, T5, T6]) TupleLength ¶ added in v0.0.255
func (Sextuple[T1, T2, T3, T4, T5, T6]) TupleValues ¶ added in v0.0.255
type Single ¶ added in v0.0.255
type Single[T1 any] struct { V1 T1 }
func (Single[T1]) TupleLength ¶ added in v0.0.255
func (Single[T1]) TupleValues ¶ added in v0.0.255
type Stack ¶ added in v0.0.61
type Stack[T any] struct { // contains filtered or unexported fields }
type StructHashOptions ¶ added in v0.0.32
type SyncSet ¶ added in v0.0.43
type SyncSet[TData comparable] struct { // contains filtered or unexported fields }
func (*SyncSet[TData]) Add ¶ added in v0.0.43
Add adds `value` to the set returns true if the value was actually inserted returns false if the value already existed
type Triple ¶ added in v0.0.255
func (Triple[T1, T2, T3]) TupleLength ¶ added in v0.0.255
func (Triple[T1, T2, T3]) TupleValues ¶ added in v0.0.255
type Tuple ¶ added in v0.0.255
func (Tuple[T1, T2]) TupleLength ¶ added in v0.0.255
func (Tuple[T1, T2]) TupleValues ¶ added in v0.0.255
type ValueGroup ¶ added in v0.0.255
Click to show internal directories.
Click to hide internal directories.