mirror of
				https://github.com/beego/bee.git
				synced 2025-11-04 14:33:24 +00:00 
			
		
		
		
	create sub packages delete unused code delete code from not use command cmdRouter,cmdTest, cmdRundocs make command plugins check with gosimple,staticcheck,go vet,unused,unconvert
		
			
				
	
	
		
			15 lines
		
	
	
		
			214 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			214 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package utils
 | 
						|
 | 
						|
import "fmt"
 | 
						|
 | 
						|
type ListOpts []string
 | 
						|
 | 
						|
func (opts *ListOpts) String() string {
 | 
						|
	return fmt.Sprint(*opts)
 | 
						|
}
 | 
						|
 | 
						|
func (opts *ListOpts) Set(value string) error {
 | 
						|
	*opts = append(*opts, value)
 | 
						|
	return nil
 | 
						|
}
 |