#8 Finalization RequestUpdate and RequestClose.

This commit is contained in:
Gorbunov Kirill Andreevich 2024-03-21 14:36:32 +03:00
parent 27331048f3
commit e72d5ec0d1

View File

@ -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{},