Update README.md
This commit is contained in:
parent
4bf6f65377
commit
69dbb09aa2
17
README.md
17
README.md
@ -1,2 +1,15 @@
|
||||
# Config
|
||||
A golang library for configuration
|
||||
## Introduction
|
||||
**config** is a simple golang library and designed to read configurations from JSON, Yaml files, environment variables and command line. **config** depends on [go-yaml](https://github.com/go-yaml/yaml) to anlayze Yaml file and use built-in JSON library to handle JSON file.
|
||||
|
||||
## Installation
|
||||
1. Install [Yaml](https://github.com/go-yaml/yaml) library first:
|
||||
```
|
||||
go get gopkg.in/yaml.v2
|
||||
```
|
||||
|
||||
2. Run the below to install:
|
||||
```
|
||||
go get github.com/eschao/config
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
Loading…
Reference in New Issue
Block a user