[feat] add ci config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Jay 2020-06-05 14:34:19 +00:00
parent b5800f9aa1
commit 42d6577878
2 changed files with 21 additions and 0 deletions

18
.drone.yml Normal file
View 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

View File

@ -1,5 +1,7 @@
# Config Loader
[![Build Status](https://ci.trj.tw/api/badges/golang/config-loader/status.svg)](https://ci.trj.tw/golang/config-loader)
## Install
```
go get -u git.trj.tw/golang/config-loader
@ -9,6 +11,7 @@ go get -u git.trj.tw/golang/config-loader
### struct tag
> default : default value define
> length : use for slice type min default length
### support type