News for hackers. Stuff that matters.
Re:Ask HN: How are you using Go to write production-grade ba... by comment_out on Thursday April 16, 2020 @04:32PM (#22893243)
My work mainly involves setting up internal enterprise applications.

- The standard testing package

- Manually setup dependency injection. Generally a flow like config=>databases=>models=>routes=>server.

- https://github.com/gorilla/mux for routing and https://github.com/swaggo/swag for documentation

- As for HTTP frameworks I just use the standard package and I really enjoy https://github.com/sirupsen/logrus for logging

We use IIS. I really wanted to use go so, I found a way to run go applications on top of it. That was not fun to figure out, but I can make use of the windows authentication underneath IIS. Required a custom module that forwards some headers to my go applications. Also the version of IIS we use doesn't even support http2 which sucks.

Re:Ask HN: How are you using Go to write production-grade ba... by callamdelaney on Thursday April 16, 2020 @05:07PM (#22893566)
I remember setting up Python to run under IIS.. what a ballache that was.
Re:Ask HN: How are you using Go to write production-grade ba... by deskamess on Thursday April 16, 2020 @04:52PM (#22893416)
Do you have a writeup/reference for Go under IIS?