mirror of
https://github.com/tinygo-org/net.git
synced 2026-08-23 22:08:59 +00:00
all: format code according to Go 1.19 rules
Go 1.19 started reformatting code in a way that makes it more obvious how it will be rendered on pkg.go.dev. It gets it almost right, but not entirely. Therefore, I had to modify some of the comments so that they are formatted correctly.
This commit is contained in:
committed by
deadprogram
parent
00d8c4d7df
commit
6787459018
@@ -28,6 +28,7 @@ func (a HardwareAddr) String() string {
|
|||||||
|
|
||||||
// ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet
|
// ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet
|
||||||
// IP over InfiniBand link-layer address using one of the following formats:
|
// IP over InfiniBand link-layer address using one of the following formats:
|
||||||
|
//
|
||||||
// 00:00:5e:00:53:01
|
// 00:00:5e:00:53:01
|
||||||
// 02:00:5e:10:00:00:00:01
|
// 02:00:5e:10:00:00:00:01
|
||||||
// 00:00:00:00:fe:80:00:00:00:00:00:00:02:00:5e:10:00:00:00:01
|
// 00:00:00:00:fe:80:00:00:00:00:00:00:02:00:5e:10:00:00:00:01
|
||||||
|
|||||||
Reference in New Issue
Block a user