eth

package
v0.0.0-...-948650a Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrSetNilPayload = errors.New("Value.SetPayload() with nil existing payload")

ErrSetNilPayload is returned by Value.SetPayload() when the existing payload is nil because the existing value is used as a type hint.

Functions

func Convert

func Convert[P isValue_Payload, T any](v *Value, conv func(P) (T, error)) (T, error)

Convert returns conv(v.Payload) i.f.f. v.Payload is of type P.

Types

This section is empty.

Jump to

Keyboard shortcuts

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