Versions in this module Expand all Collapse all v1 v1.1.0 Apr 8, 2024 Changes in this version + var ErrNotAUrl = errors.New("not a url") + var ErrNotParsed = errors.New("not a parsed value") + func MustParsePath(path string) (string, error) + func ParseAbsoluteTime(in interface{}) (time.Time, error) + func ParseAddrs(addrs interface{}) ([]*sockaddr.SockAddrMarshaler, error) + func ParseBool(in interface{}) (bool, error) + func ParseCapacityString(in interface{}) (uint64, error) + func ParseCommaStringSlice(in interface{}) ([]string, error) + func ParseDirectIntSlice(in interface{}) ([]int64, error) + func ParseDurationSecond(in interface{}) (time.Duration, error) + func ParseInt(in interface{}) (int64, error) + func ParseIntSlice(in interface{}) ([]int64, error) + func ParsePath(path string) (string, error) + func ParseString(in interface{}) (string, error) + func SafeParseInt(in interface{}) (int, error) + func SafeParseIntRange(in interface{}, min int64, max int64) (int64, error) + func SafeParseIntSlice(in interface{}, elements int) ([]int, error) + func SafeParseIntSliceRange(in interface{}, minValue int64, maxValue int64, elements int) ([]int64, error) v1.1.0-development20240408 Apr 8, 2024