What's your go to literature to build Go libraries?

2 points by Halan ↗ HN
Any blog post or pages you would recommend to somebody writing their first Go libraries?

I am thinking things like UX and best practices

2 comments

[ 2.2 ms ] story [ 19.0 ms ] thread
> https://github.com/golang-standards/project-layout

The name of the repo is really and intentionally misleading. rsc filled an issue there to point this out, but the repo maintainer just disabled issues altogether so now no one can see it.

Even when it would not have such parasitic name, many seasoned Go programmers, me included, consider the self-proclaimed "Standard Go project Layout" as the opposite of what is good and advisable.

Unfortunately, the name just works, so it is being recommended all over the Internet since its inception.