Documentation ¶
Overview ¶
Package must provides functions used in package and variables initialization. If an error occurs, those functions will panic. Use judiciously!
Package must provides functions used in package and variables initialization. If an error occurs, those functions will panic. Use judiciously!
Index ¶
- func Close(c io.Closer)
- func ConvertToInt(s string) int
- func Getenv(key string) string
- func LoadLocation(name string) *time.Location
- func ParseBool(s string) bool
- func ParseDuration(s string) time.Duration
- func ParseFloat(s string) float64
- func ParseInt(s string) int64
- func RemoveFileSystemNode(name string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertToInt ¶
ConvertToInt wraps strconv.Atoi for cases that ParseInt cannot handle
func LoadLocation ¶
LoadLocation wraps time.LoadLocation(name).
func ParseDuration ¶
ParseDuration wraps time.ParseDuration(s).
func RemoveFileSystemNode ¶
func RemoveFileSystemNode(name string)
RemoveFileSystemNode wraps os.Remove(name).
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.