cmd/config: simplify code (#246)

This commit is contained in:
Daniele Rondina
2021-08-11 16:26:34 +02:00
committed by GitHub
parent 3402641241
commit 0f545952cd
4 changed files with 42 additions and 129 deletions

View File

@@ -64,8 +64,8 @@ type Solver struct {
}
type Options struct {
Type SolverType
Concurrency int
Type SolverType `yaml:"type,omitempty"`
Concurrency int `yaml:"concurrency,omitempty"`
}
// NewSolver accepts as argument two lists of packages, the first is the initial set,