From 3a5f624ba445a6b679ef2352b3623c3c68c82bb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9E=D0=BB=D0=B5=D0=B3=20=D0=91=D0=BE=D1=80=D0=BE=D0=B4?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Sat, 6 Jun 2026 18:07:42 +0200 Subject: [PATCH] working commit --- cmd/mbaseadmin/grant/create.go | 2 +- cmd/mbaseadmin/grant/delete.go | 2 +- cmd/mbaseadmin/grant/printr.go | 2 +- cmd/mbaseadmin/grant/util.go | 3 +++ cmd/mbaseadmin/util.go | 1 - 5 files changed, 6 insertions(+), 4 deletions(-) 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 }