mirror of
https://github.com/TECHNOFAB11/powerproto.git
synced 2025-12-12 08:00:04 +01:00
chore: rename package to be able to go install
This commit is contained in:
parent
538ff9c6f6
commit
507039ecc0
31 changed files with 104 additions and 99 deletions
|
|
@ -21,13 +21,14 @@ import (
|
|||
|
||||
"github.com/pkg/errors"
|
||||
|
||||
"github.com/storyicon/powerproto/pkg/consts"
|
||||
"github.com/storyicon/powerproto/pkg/util/logger"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/consts"
|
||||
"github.com/TECHNOFAB11/powerproto/pkg/util/logger"
|
||||
)
|
||||
|
||||
// ActionRemove is used to delete directories or files
|
||||
// Its args prototype is:
|
||||
// args: (path ...string)
|
||||
//
|
||||
// args: (path ...string)
|
||||
func ActionRemove(ctx context.Context, log logger.Logger, args []string, options *CommonOptions) error {
|
||||
for _, arg := range args {
|
||||
if filepath.IsAbs(arg) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue