From 72be13c3e986aaee110b8f9abc78f5afcef22727 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 30 Apr 2024 08:34:26 +0200 Subject: chore(gonf): fix go vet and staticcheck errors --- pkg/packages.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/packages.go') 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 { -- cgit v1.2.3