Documentation ¶
Index ¶
- func ParseBool(v string, defvals ...bool) bool
- func ParseDuration(v string, mod time.Duration, defvals ...time.Duration) time.Duration
- func ParseFloat(v string, defvals ...float64) float64
- func ParseInt(v string, defvals ...int) int
- func ParseInt64(v string, defvals ...int64) int64
- func ParseList(v string, defvals ...[]string) []string
- func ParseMode(v string, defvals ...os.FileMode) os.FileMode
- func ParseTimeDuration(v string, defvals ...time.Duration) time.Duration
- func ParseTimestamp(v string, defvals ...time.Time) time.Time
- func ParseTimezone(v string, defvals ...*time.Location) *time.Location
- func ParseUint(v string, defvals ...uint) uint
- func ParseUint64(v string, defvals ...uint64) uint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseDuration ¶
ParseDuration parses value as duration
func ParseFloat ¶
ParseFloat parses value as float
func ParseInt64 ¶
ParseInt64 parses value as 64-bit int
func ParseTimeDuration ¶
ParseTimeDuration parses value as time duration
func ParseTimestamp ¶
ParseTimestamp parses value as Unix timestamp
func ParseTimezone ¶
ParseTimezone parses value as timezone
func ParseUint64 ¶
ParseUint64 parses value as 64-bit uint
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.