For any real life application that does any tasks that are resource-intensive, timeouts are a necessary evil.
https://medium.com/swlh/the-simplest-way-to-handle-timeouts-in-golang-11e371dc6188
https://medium.com/swlh/the-simplest-way-to-handle-timeouts-in-golang-11e371dc6188
Medium
The Simplest Way to Handle Timeouts in Golang
For any real life application that does any tasks that are resource-intensive, timeouts are a necessary evil. Timeouts are necessary to…
In this post I will show how to easily build an external api with authentication with help from Traefik. The usecase is the following: you want to make an external api only authenticated users can access. In this solution the authentication will be a token which clients will supply as an HTTP header. We will leverage Traefik to make the auth server and underlying api services loosely coupled.
https://rogerwelin.github.io//traefik/api/go/auth/2019/08/19/build-external-api-with-trafik-go.html
https://rogerwelin.github.io//traefik/api/go/auth/2019/08/19/build-external-api-with-trafik-go.html
GitHub Actions will allow building a complete CI/CD Pipeline, deeply integrated with the GitHub ecosystem, without the need to use a third-party service like Travis CI or Circle CI, following the trend for "All in one" solutions where GitLab is probably the best example
https://dev.to/brpaz/building-a-basic-ci-cd-pipeline-for-a-golang-application-using-github-actions-icj
https://dev.to/brpaz/building-a-basic-ci-cd-pipeline-for-a-golang-application-using-github-actions-icj
DEV Community
Building a basic CI/CD pipeline for a Golang application using GitHub Actions
GitHub has announced last week exciting new features for GitHub Actions, including built-in support for CI/CD pipelines. It this post I will show the capabilities of the new GitHub Actions for CI/CD by creating a simple pipeline for a Golang application.
It’s really all about caching, which Go modules make refreshingly easy.
https://evilmartians.com/chronicles/speeding-up-go-modules-for-docker-and-ci
https://evilmartians.com/chronicles/speeding-up-go-modules-for-docker-and-ci
evilmartians.com
Speeding up Go Modules for Docker and CI—Martian Chronicles, Evil Martians’ team blog
Finally, the Golang world has a built-in, conventional dependency manager in the ecosystem: Go Modules. What began in Go 1.11 as an opt-in feature has become widely adopted by the community, and we are so close to Go 1.13 when Go Modules will be enabled by…