parse

package
v1.5.0-rc3 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2022 License: MIT Imports: 11 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 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) (*assets.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)

Types

This section is empty.

Jump to

Keyboard shortcuts

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