24 lines
519 B
Go
24 lines
519 B
Go
/*
|
|
* Copyright 2026 Oleg Borodin <onborodin@gmail.com>
|
|
*/
|
|
package grant
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
func (util *Util) DeleteGrant(cmd *cobra.Command, args []string) {
|
|
//util.deleteGrantParams.Filename = args[0]
|
|
res, err := util.deleteGrant(util.deleteGrantParams)
|
|
printResponse(res, err)
|
|
}
|
|
|
|
type deleteGrantParams struct{}
|
|
type deleteGrantResult struct{}
|
|
|
|
func (util *Util) deleteGrant(params deleteGrantParams) (deleteGrantResult, error) {
|
|
var err error
|
|
res := deleteGrantResult{}
|
|
return res, err
|
|
}
|