by zeeboo · 5y ago · 0 comments
I think your statement reflects more on your own biases than reality.
What I'm saying is that the design flaws of net.IP, the absence of which would have benefited the whole ecosystem, fall into a familiar pattern that can be learned from. It is good to see that addressed, even if by third parties.
It wouldn't surprise me one bit if this ended up in the stdlib for Go 2.0.
I had to work around one of the issues here in my first use of the built in ip type - I needed to parse ip addresses and pass them to a command that needed a tcp4 or tcp6 flag depending on the address type.