conv

package
v0.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Blob

func Blob(a any) ([]byte, error)

func Bool

func Bool(a any) (bool, error)

func Decimal added in v0.8.1

func Decimal(a any) (*decimal.Decimal, error)

Decimal converts a value to a Decimal.

func Int

func Int(a any) (int64, error)

func String

func String(a any) (string, error)

func UUID

func UUID(a any) (*types.UUID, error)

UUID converts a value to a UUID.

func Uint256 added in v0.8.1

func Uint256(a any) (*types.Uint256, error)

Uint256 converts a value to a Uint256.

Types

This section is empty.

Jump to

Keyboard shortcuts

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