Programming Style
18 March 22 • 4 minute read
Go 1.18 Generics
With the release of Go 1.18 came Generics, a major update to the language and with it comes new concepts and syntax which we will go through in this article.
With the release of Go 1.18 came Generics, a major update to the language and with it comes new concepts and syntax which we will go through in this article.
One of the 12-factor app methodologies is Disposability, in the context of an HTTP Server that means a Server can be started and stopped at any time during a service's lifecycle and should be able to gracefully shut down without interrupting any active connections.
Integration tests determine if individual units of code work together as expected. In this article, we will take a look at narrow integration testing and how to implement them in Go.
Unit tests are the lowest level of tests, comprising a single unit of code being tested over many cases, returning results fast.