parse

package
v2.9.1-automation-2024... Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BigInt

func BigInt(str string) (*big.Int, error)

func Bool

func Bool(s string) (interface{}, error)

Bool parses string as a bool type

func DatabaseURL

func DatabaseURL(s string) (url.URL, error)

func Duration

func Duration(s string) (interface{}, error)

Duration converts string to parsed Duratin type

func F32

func F32(s string) (float32, error)

func FileSize

func FileSize(s string) (utils.FileSize, error)

func HomeDir

func HomeDir(str string) (string, error)

func IP

func IP(s string) (interface{}, error)

IP converts string to parsed IP type

func Int64

func Int64(s string) (int64, error)
func Link(str string) (*commonassets.Link, error)

func LogLevel

func LogLevel(str string) (zapcore.Level, error)

func String

func String(str string) (string, error)

func URL

func URL(s string) (interface{}, error)

URL converts string to parsed URL type

func Uint16

func Uint16(s string) (uint16, error)

func Uint32

func Uint32(s string) (uint32, error)

func Uint64

func Uint64(s string) (uint64, error)

func Wei

func Wei(str string) (w *assets.Wei, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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