parseutil

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: MPL-2.0 Imports: 3 Imported by: 36

Documentation

Overview

DEPRECATED: this has been moved to go-secure-stdlib and will be removed

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseAbsoluteTime added in v0.2.0

func ParseAbsoluteTime(in interface{}) (time.Time, error)

func ParseAddrs

func ParseAddrs(addrs interface{}) ([]*sockaddr.SockAddrMarshaler, error)

func ParseBool

func ParseBool(in interface{}) (bool, error)

func ParseCapacityString added in v0.2.0

func ParseCapacityString(in interface{}) (uint64, error)

func ParseCommaStringSlice

func ParseCommaStringSlice(in interface{}) ([]string, error)

func ParseDurationSecond

func ParseDurationSecond(in interface{}) (time.Duration, error)

func ParseInt

func ParseInt(in interface{}) (int64, error)

func ParseString added in v0.2.0

func ParseString(in interface{}) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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