@cvlc can you put an example of those broken things? for what it looks those objects are exactly the same than the constants that golang already provides. The IP type is just an array of bytes:

http://play.golang.org/p/JJDhH_oVjs
http://golang.org/src/pkg/net/ip.go?s=8421:8450#L35