diff --git a/cmd/mbaseadmin/grant/create.go b/cmd/mbaseadmin/grant/create.go index bc3445c..25aa47e 100644 --- a/cmd/mbaseadmin/grant/create.go +++ b/cmd/mbaseadmin/grant/create.go @@ -1,7 +1,7 @@ /* * Copyright 2026 Oleg Borodin */ -package account +package grant import ( "github.com/spf13/cobra" diff --git a/cmd/mbaseadmin/grant/delete.go b/cmd/mbaseadmin/grant/delete.go index f4a5db3..e1eb633 100644 --- a/cmd/mbaseadmin/grant/delete.go +++ b/cmd/mbaseadmin/grant/delete.go @@ -1,7 +1,7 @@ /* * Copyright 2026 Oleg Borodin */ -package account +package grant import ( "github.com/spf13/cobra" diff --git a/cmd/mbaseadmin/grant/printr.go b/cmd/mbaseadmin/grant/printr.go index 48d8e9e..245d7f8 100644 --- a/cmd/mbaseadmin/grant/printr.go +++ b/cmd/mbaseadmin/grant/printr.go @@ -1,7 +1,7 @@ /* * Copyright 2026 Oleg Borodin */ -package account +package grant import ( "fmt" diff --git a/cmd/mbaseadmin/grant/util.go b/cmd/mbaseadmin/grant/util.go index 62cec53..772d413 100644 --- a/cmd/mbaseadmin/grant/util.go +++ b/cmd/mbaseadmin/grant/util.go @@ -5,9 +5,12 @@ package grant import ( "github.com/spf13/cobra" + + "mbase/app/operator" ) type Util struct { + lg *operator.Logic rootCmd *cobra.Command createGrantParams createGrantParams deleteGrantParams deleteGrantParams diff --git a/cmd/mbaseadmin/util.go b/cmd/mbaseadmin/util.go index 430879f..7770059 100644 --- a/cmd/mbaseadmin/util.go +++ b/cmd/mbaseadmin/util.go @@ -18,7 +18,6 @@ import ( type Util struct { lg *operator.Logic db *maindb.Database - rootCmd *cobra.Command }