This commit is contained in:
parent
b5800f9aa1
commit
42d6577878
18
.drone.yml
Normal file
18
.drone.yml
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
kind: pipeline
|
||||||
|
name: test-stable-version
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:1
|
||||||
|
commands:
|
||||||
|
- go test
|
||||||
|
|
||||||
|
---
|
||||||
|
kind: pipeline
|
||||||
|
name: test-rc-version
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test
|
||||||
|
image: golang:rc
|
||||||
|
commands:
|
||||||
|
- go test
|
@ -1,5 +1,7 @@
|
|||||||
# Config Loader
|
# Config Loader
|
||||||
|
|
||||||
|
[![Build Status](https://ci.trj.tw/api/badges/golang/config-loader/status.svg)](https://ci.trj.tw/golang/config-loader)
|
||||||
|
|
||||||
## Install
|
## Install
|
||||||
```
|
```
|
||||||
go get -u git.trj.tw/golang/config-loader
|
go get -u git.trj.tw/golang/config-loader
|
||||||
@ -9,6 +11,7 @@ go get -u git.trj.tw/golang/config-loader
|
|||||||
|
|
||||||
### struct tag
|
### struct tag
|
||||||
> default : default value define
|
> default : default value define
|
||||||
|
|
||||||
> length : use for slice type min default length
|
> length : use for slice type min default length
|
||||||
|
|
||||||
### support type
|
### support type
|
||||||
|
Loading…
Reference in New Issue
Block a user