Skip to content
This repository was archived by the owner on Sep 6, 2025. It is now read-only.

Commit a7f2f07

Browse files
committed
Using the constructor
1 parent bdc5c27 commit a7f2f07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
)
99

1010
func main() {
11-
if err := cmd.RootCmd.Execute(); err != nil {
11+
if err := cmd.NewRootCmd().Execute(); err != nil {
1212
fmt.Println(err)
1313
os.Exit(1)
1414
}

0 commit comments

Comments
 (0)