News for hackers. Stuff that matters.
Re:Diving into Go by building a CLI application by zozbot234 on Wednesday May 27, 2020 @06:50AM (#23321526)
> but it's a fair amount of boilerplate or macros to make the newtype useful.

As mentioned in the docs, you can use the Deref facility to have the newtype implement everything that the original type does. Rust just gives you the choice of doing this vs. wrapping with a custom set of impls.

Re:Diving into Go by building a CLI application by mikekchar on Wednesday May 27, 2020 @07:27AM (#23321755)
I'm not sure why I didn't recall that :-P Of course you are correct!