Documentation ¶
Index ¶
Constants ¶
View Source
const ( // FileTOML toml FileTOML = ".toml" // FileJSON json FileJSON = ".json" )
Variables ¶
View Source
var TOML = toml.Unmarshal
TOML toml配置格式解析
Functions ¶
func HeadComments ¶ added in v0.2.2
HeadComments 获取头部的所有注释内容
func StripComment ¶
StripComment 去除单行的'#'注释 只支持单行,不支持行尾
Types ¶
Click to show internal directories.
Click to hide internal directories.