hooks

package
v0.11.3 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidAddress = errors.New("invalid address")

Functions

func StringToAddressHookFunc

func StringToAddressHookFunc() mapstructure.DecodeHookFunc

StringToAddressHookFunc is a mapstructure hook function that converts a string to a common.Address.

func StringToBigIntHookFunc added in v0.7.3

func StringToBigIntHookFunc() mapstructure.DecodeHookFunc

StringToBigIntHookFunc is a mapstructure hook function that converts a string to a *big.Int.

func StringToHashHookFunc added in v0.7.3

func StringToHashHookFunc() mapstructure.DecodeHookFunc

StringToAddressHookFunc is a mapstructure hook function that converts a string to a common.Address.

func StringToInt64HookFunc

func StringToInt64HookFunc() mapstructure.DecodeHookFunc

StringToInt64HookFunc is a mapstructure hook function that converts a string to a common.Address.

func StringToLipglossColorHookFunc

func StringToLipglossColorHookFunc() mapstructure.DecodeHookFunc

StringToLipglossColorHookFunc is a mapstructure hook function that converts a string to a lipgloss.Color.

func StringToUnixTimeHookFunc added in v0.7.3

func StringToUnixTimeHookFunc() mapstructure.DecodeHookFunc

StringToDurationHookFunc is a mapstructure hook function that converts a string to a common.Address.

Types

This section is empty.

Jump to

Keyboard shortcuts

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