Documentation
¶
Overview ¶
Package env 提供一些环境变量相关的工具
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBool ¶
GetBool 获取 bool 类型环境变量。大于零的值均会被视为 true, 字符串 true 和 TRUE 也会视为 true。 剩余情况 (包括不存在) 则返回 false
Types ¶
Click to show internal directories.
Click to hide internal directories.