package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 11, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
README
¶
configs
config 项目是用来读取及配置应用程序的配置文件的,目前支持yaml、yml、json、toml格式的配置文件。
个人的项目严格来说不是原创,是来至参考资料①的源码。感谢qianlnk
server:
name: config.yaml
server:
name: config.yml
{
"server": {
"name": "config.json"
}
}
[server]
name="config.toml"
程序案例请查看demo
参考资料
Documentation
¶
*
- Project Name:configs
- File Name:configs.go
- Package Name:configs
- Date:2019年07月16日 17:10
- Function:
- Copyright (c) 2019, Jason.Wang All Rights Reserved.
type Error struct {
Message string
}
Source Files
¶
Directories
¶
* * Project Name:configs * File Name:main.go * Package Name:example * Date:2019年07月16日 17:32 * Function: * Copyright (c) 2019, Jason.Wang All Rights Reserved.
|
* * Project Name:configs * File Name:main.go * Package Name:example * Date:2019年07月16日 17:32 * Function: * Copyright (c) 2019, Jason.Wang All Rights Reserved. |
Click to show internal directories.
Click to hide internal directories.