mirror of
https://github.com/nadoo/glider.git
synced 2025-02-23 17:35:40 +08:00
change version
This commit is contained in:
parent
7a919ed124
commit
085e6ba040
8
main.go
8
main.go
@ -12,7 +12,7 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
// VERSION .
|
// VERSION .
|
||||||
const VERSION = "0.4.0"
|
const VERSION = "0.3.2"
|
||||||
|
|
||||||
var conf struct {
|
var conf struct {
|
||||||
Verbose bool
|
Verbose bool
|
||||||
@ -117,6 +117,12 @@ func (i *arrFlags) String() string {
|
|||||||
|
|
||||||
// implement flag.Value interface
|
// implement flag.Value interface
|
||||||
func (i *arrFlags) Set(value string) error {
|
func (i *arrFlags) Set(value string) error {
|
||||||
|
// for _, v := range *i {
|
||||||
|
// if v == value {
|
||||||
|
// return nil
|
||||||
|
// }
|
||||||
|
// }
|
||||||
|
|
||||||
*i = append(*i, value)
|
*i = append(*i, value)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user