Skip to content

Commit

Permalink
chore: update document and workfolws
Browse files Browse the repository at this point in the history
  • Loading branch information
shipengqi committed Sep 13, 2023
1 parent f4c4c99 commit 3530154
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ cmd := &cobra.Command{

func newSubAction1() *action.Action {
return &action.Action{
Name: "sub-action1",
Executable: func(act *action.Action) bool {
// do something
return true
Name: "sub-action1",
Executable: func(act *action.Action) bool {
// do something
return true
},
Run: func(act *action.Action) error { return nil },
}
Expand Down

0 comments on commit 3530154

Please sign in to comment.