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
 | 
			
		||||
 | 
			
		||||
[](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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user