Add check/format command

This commit is contained in:
世界
2022-07-04 16:59:27 +08:00
parent 13f41f59d6
commit 718b4afbf3
4 changed files with 99 additions and 1 deletions

View File

@@ -35,7 +35,6 @@ func run(cmd *cobra.Command, args []string) {
}
options.Log.DisableColor = true
}
ctx, cancel := context.WithCancel(context.Background())
service, err := box.NewService(ctx, options)
if err != nil {