Style: format code by gofumpt (#761)
This commit is contained in:
1 parent
d77be80b40
commit
e286cdcaa8
111 files changed
+293
-291
No files matched your search
@@ -12,7 +12,7 @@ func init() {
|
||||
base.RootCommand.Commands = append(
|
||||
base.RootCommand.Commands,
|
||||
api.CmdAPI,
|
||||
//cmdConvert,
|
||||
// cmdConvert,
|
||||
tls.CmdTLS,
|
||||
cmdUUID,
|
||||
)
|
||||
|
||||
@@ -27,9 +27,7 @@ func init() {
|
||||
cmdPing.Run = executePing // break init loop
|
||||
}
|
||||
|
||||
var (
|
||||
pingIPStr = cmdPing.Flag.String("ip", "", "")
|
||||
)
|
||||
var pingIPStr = cmdPing.Flag.String("ip", "", "")
|
||||
|
||||
func executePing(cmd *base.Command, args []string) {
|
||||
if cmdPing.Flag.NArg() < 1 {
|
||||
|
||||
Reference in new issue
Block a user