chore(gonf): fix go vet and staticcheck errors
This commit is contained in:
parent
cae4735276
commit
72be13c3e9
6 changed files with 4 additions and 18 deletions
|
@ -7,7 +7,6 @@ var packages []*PackagePromise
|
|||
|
||||
// packages management functions
|
||||
var packages_install_function func([]string) (Status, []string)
|
||||
var packages_update_function *CommandPromise
|
||||
|
||||
// ----- Init ------------------------------------------------------------------
|
||||
func init() {
|
||||
|
@ -17,7 +16,6 @@ func init() {
|
|||
// ----- Public ----------------------------------------------------------------
|
||||
func SetPackagesConfiguration(install func([]string) (Status, []string), update *CommandPromise) {
|
||||
packages_install_function = install
|
||||
packages_update_function = update
|
||||
}
|
||||
|
||||
func Package(names ...string) *PackagePromise {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue