Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
net: Add MarshalText and UnmarshalText to HardwareAddr #10244
It's easy to make own marshaler and unmarshaler stuff, and please do so.
IIRC, there's no standardized canonical form of textual representation even for IEEE stuff such as MAC-48/64, EUI-48/64. If you need to choose a format for your application, perhaps this RFC, https://tools.ietf.org/html/rfc7043, would be a help; I mean "two-digit hexadecimal numbers separated by hyphens."