An empty interface can be used to hold any data and it can be a useful parameter since it can work with any type.
https://medium.com/@blanchon.vincent/go-understand-the-empty-interface-2d9fc1e5ec72
https://medium.com/@blanchon.vincent/go-understand-the-empty-interface-2d9fc1e5ec72
Medium
Go: Understand the Empty Interface
An empty interface can be used to hold any data and it can be a useful parameter since it can work with any type. To understand how an…
Go vet command helps you detect any suspicious, abnormal, or useless code in your application.
https://medium.com/@blanchon.vincent/go-vet-command-is-more-powerful-than-you-think-563e9fdec2f5
https://medium.com/@blanchon.vincent/go-vet-command-is-more-powerful-than-you-think-563e9fdec2f5
Medium
Go: Vet Command Is More Powerful Than You Think
Go vet command is a great help while writing your code. It helps you detect any suspicious, abnormal, or useless code in your application…
Extensive repo containing a Gopher’s notes on learning Go and computer systems.
https://github.com/hoanhan101/ultimate-go
https://github.com/hoanhan101/ultimate-go
GitHub
GitHub - hoanhan101/ultimate-go: The Ultimate Go Study Guide
The Ultimate Go Study Guide. Contribute to hoanhan101/ultimate-go development by creating an account on GitHub.
The intention of this article is to:
• get you started with building your first object structure intialization in Go language.
• explain two ways to initialize an object structure with a method and function.
• a touch on pointers and local variables
• a touch on public and private
https://synchrodynamic.com/golang/simple-class-or-structure-in-go-language/2019/
• get you started with building your first object structure intialization in Go language.
• explain two ways to initialize an object structure with a method and function.
• a touch on pointers and local variables
• a touch on public and private
https://synchrodynamic.com/golang/simple-class-or-structure-in-go-language/2019/
SynchroDynamic Software
SynchroDynamic Software Simple Object Structure Intialization in Go Language
The Go Language is an elegant and powerful programming language that may look slightly strange at first. Although Go is an object-oriented language, it sits in a slightly different paradigm then that of other similar languages. The intention of this article…
A real-world investigation into long-running mgo processes.
https://medium.com/@AustinBG/performance-debugging-golang-at-scale-8d8fab580bbe
https://medium.com/@AustinBG/performance-debugging-golang-at-scale-8d8fab580bbe
Medium
Performance Debugging Golang at Scale
A real-world investigation into long-running mgo processes
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…