#19 #20
@ -35,6 +35,13 @@ func NewConfig() *Config {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type UpdateOpt struct {
|
||||||
|
Pre bool `json:"pre" yaml:"pre" default:"false"`
|
||||||
|
Major bool `json:"major" yaml:"major" default:"false"`
|
||||||
|
UpMajor bool `json:"up_major" yaml:"up_major" default:"false"`
|
||||||
|
Cached bool `json:"cached" yaml:"cached" default:"true"`
|
||||||
|
}
|
||||||
|
|
||||||
func NewConfig() *Config {
|
func NewConfig() *Config {
|
||||||
return &Config{
|
return &Config{
|
||||||
Source: &Source{},
|
Source: &Source{},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user