parse

package
v1.2.1-rc0 Latest Latest
Warning

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

Go to latest
Published: Mar 15, 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) (interface{}, error)

BigInt parses string into a big int

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) (interface{}, error)

F32 converts string to float32

func FileSize

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

FileSize parses string as FileSize type

func HomeDir

func HomeDir(str string) (interface{}, error)

HomeDir parses string as a file path

func IP

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

IP converts string to parsed IP type

func Int64

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

Int64 converts string to int64

func Link(str string) (interface{}, error)

Link parser

func LogLevel

func LogLevel(str string) (interface{}, error)

LogLevel sets log level

func String

func String(str string) (interface{}, error)

String parser

func URL

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

URL converts string to parsed URL type

func Uint16

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

Uint16 converts string to uint16

func Uint32

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

Uint32 converts string to uint32

func Uint64

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

Uint64 converts string to uint64

Types

This section is empty.

Jump to

Keyboard shortcuts

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