Skip to content

Commit

Permalink
fix: rm unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
hui.wang committed May 7, 2022
1 parent 8f2c5ee commit e48f98a
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions xcmd/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ package xcmd

import (
"context"
"fmt"

"github.com/sandwich-go/xconf"
)
Expand All @@ -11,7 +10,6 @@ import (
type Executer = func(ctx context.Context, cmd *Command) error

var usageExecuter = func(ctx context.Context, cmd *Command) error {
fmt.Println("usageExecuterusageExecuterusageExecuterusageExecuterusageExecuterusageExecuterusageExecuterusageExecuterusageExecuter")
cmd.Usage()
return xconf.ErrHelp
}
Expand Down

0 comments on commit e48f98a

Please sign in to comment.