-
Notifications
You must be signed in to change notification settings - Fork 17.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
net: net.IPNet should implement encoding.TextMarshaler and TextUnmarshaler #12803
Comments
|
What should a
Then, independently of the above, should
|
Too late, I'm afraid. That would change the current encodings. http://play.golang.org/p/DY7Juqs9vT
|
@rsc Sorry, I don't get why parsing "127.0.0.1/24" into a net.IPNET could not be implemented anyway? |
Fails with "panic: json: cannot unmarshal string into Go value of type net.IPNet".
go version go1.5.1 linux/amd64
The text was updated successfully, but these errors were encountered: