parse

package
v2.12.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: MIT Imports: 14 Imported by: 1 module, 1 package

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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