Skip to content

Commit

Permalink
go fmt ./...
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Aug 18, 2021
1 parent 311355d commit 6f2c89a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions args.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ type Arguments struct {
}

var (
NoCommand = errors.New("command is required")
NoCommand = errors.New("command is required")
IntervalTooSmall = errors.New("interval too small")
)

Expand Down Expand Up @@ -76,7 +76,7 @@ LOOP:
return &argument, NoCommand
}

if argument.interval < 10 * time.Millisecond {
if argument.interval < 10*time.Millisecond {
return nil, IntervalTooSmall
}

Expand All @@ -102,4 +102,4 @@ Options:
-h, --help display this help and exit
-v, --version output version information and exit`)
}
}

0 comments on commit 6f2c89a

Please sign in to comment.