chore: apply golangci "forbidigo" to all packages (#39151)

This commit is contained in:
wxiaoguang
2026-08-28 00:34:44 +08:00
committed by GitHub
parent 66c672d0b7
commit b7cfa4e67e
17 changed files with 61 additions and 54 deletions
+2 -2
View File
@@ -88,9 +88,9 @@ func runGenerateAccessToken(ctx context.Context, c *cli.Command) error {
}
if c.Bool("raw") {
fmt.Printf("%s\n", t.Token)
cprintln(c, t.Token)
} else {
fmt.Printf("Access token was successfully created: %s\n", t.Token)
cprintf(c, "Access token was successfully created: %s\n", t.Token)
}
return nil