all: gofmt

These files are not formatted by gofmt. Thus, run gofmt to format them.

Change-Id: Iea9650e64b1f47cf82739f3a8a34f47740a96455
Reviewed-on: https://go-review.googlesource.com/c/go/+/570398
Reviewed-by: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Auto-Submit: Ian Lance Taylor <iant@google.com>
This commit is contained in:
sivchari 2024-03-11 23:28:30 +09:00 committed by Gopher Robot
parent d85d11f101
commit a18aa0e3d1
2 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ func parseIPv4Slow(s string) (Addr, error) {
// parseWord converts a 16-bit hex string into its corresponding
// two-byte value.
func parseWord(s string) (byte, byte, error) {
if(len(s) > 4) {
if len(s) > 4 {
return 0, 0, fmt.Errorf("parseWord(%q): invalid word", s)
}
ret, err := strconv.ParseUint(s, 16, 16)