mirror of
https://github.com/golang/go.git
synced 2025-05-29 11:25:43 +00:00
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:
parent
d85d11f101
commit
a18aa0e3d1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user