#8 Finalization RequestUpdate and RequestClose.
This commit is contained in:
parent
27331048f3
commit
e72d5ec0d1
@ -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