summaryrefslogtreecommitdiff
path: root/pkg/packages.go
diff options
context:
space:
mode:
authorJulien Dessaux2024-04-30 08:34:26 +0200
committerJulien Dessaux2024-04-30 08:34:26 +0200
commit72be13c3e986aaee110b8f9abc78f5afcef22727 (patch)
tree45f4b0ca60657cd2beccf639b9e7fe6db99ac0bd /pkg/packages.go
parentchore(gonf): factorise hostflag management (diff)
downloadgonf-72be13c3e986aaee110b8f9abc78f5afcef22727.tar.gz
gonf-72be13c3e986aaee110b8f9abc78f5afcef22727.tar.bz2
gonf-72be13c3e986aaee110b8f9abc78f5afcef22727.zip
chore(gonf): fix go vet and staticcheck errors
Diffstat (limited to '')
-rw-r--r--pkg/packages.go2
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/packages.go b/pkg/packages.go
index fdce87c..bf9322c 100644
--- a/pkg/packages.go
+++ b/pkg/packages.go
@@ -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 {