In this article, I will show you how to implement a stack in Golang using slice. Slice Based Stack Implementation in Golang
Can I travel to is born from my interest in developing/learning how to develop a full production-ready environment, using the latest technologies (Go, Docker, AWS, CI/CD, microservices…).
Untangle an anti-pattern. Assigning loggers to package-level variables is an anti-pattern. When you declare var log = mylogger.New() in the package namespace, you create a tight compile-time dependency on the particular brand of logger you use. It makes your program brittle, hard to change.
TLDR; Just Want A Go Release Tool? I’m neither a lover nor a hater when it comes to Go and its ecosystem. Generally things Go are a bit rudimentary but very open and accessible. You may have to do some work yourself, but you’ll be able to get results.
Go is an open-source programming language that makes it easy to build simple, reliable, and efficient software. I’ll that dives into the fundamentals of the Go programming language with the aim of encouraging readers to add this language to their programming repertoire.
Learn about the Go ecosystem and the language's overview. As well as its advantages and disadvantages. Go language overview for experienced programmers. Go is a general-purpose language designed with systems programming in mind
This article aims to suggest an alternative to the existing electronic voting system. Fraud cases and dubious electoral processes are recurrent in the recent history of elections. According to a survey, three out of five respondents believe that cyberattacks can manipulate elections in their countries soon. Although experts claim that the electronic voting system is the aptest to promote a safe election, the lack of confidence in the current system puts at risk the legitimacy of the winning candidate.
The answer to a common programming problem. A very common programming problem that arises in most languages is a simple function that returns true if an input item is present in an array (or dictionary or slice or a variety of other terms) of items and false if it is not.
I'm normally a fan of the rigidity within the Go toolchain. In fact, we use Go on the front and backend at Qvault. It's wonderful to have standardized .
Better understand the security aspects of Go modules. Know more about the Go Module vulnerabilities and solutions.
With the capability to build lightweight yet efficient system, Golang has been getting a lot of attention from software engineers who use it to build backend services, microservices etc as well as DevOps engineers who use it as scripting language. FYI, Kubernetes is written in Go as well.
We’ve launched our new Big-O Algorithms course! We wrote this course for engineers who need a refresher on computer science basics, or want to learn the fundamentals for the first time.
Want your Go programs to run faster? Optimizing string comparisons in Go can improve your application’s response time and help with scalability. Comparing two strings to see if they’re equal takes processing power but not all comparisons are the same. In a previous article, we looked at How to compare strings in Go and did some benchmarking. We’re going to expand on that here. Optimizing String Comparisons in Golang
Want your Go programs to run faster? Optimizing string comparisons in Go can improve your application’s response time and help scalability. Comparing two strings to see if they’re equal takes processing power, but not all comparisons are the same.
Golang is a great language, in my opinion, simple, fast, and focused on high performance. But, not only it can help us to create a micro-service that performs, but we can also code quite quickly. With a simple tool we can create a simple project with a simple solution for complex problems. Creating Applications with Golangspell
In this article we learn how to build Minecraft server packages in Go . Most Minecraft community servers or hosting services use some sort of MSW. They are very handy for developers to build solutions around their Minecraft Servers, for example:
In this article, we’ll build an OAuth 2.0 client application in Go and use it to access our user data in multiple services. OAuth 2.0 in Golang
How to write a terminal-based Space Invaders game in Go . The earliest memory I had of arcade video games was watching my older brother and cousins going at the video game machines at Genting Highlands.
Dependency Inversion is the idea that high-level logic should not depend on its low-level implementations. Business logic in our application should not care about whether we get data from an AWS bucket or Google Cloud Storage; we should be able to easily swap these implementations without our program breaking. This makes our code stable against change. We can also make our application testable by swapping these dependencies for implementations that are easier to test. In this tutorial, you'll see How to Use Dependency Inversion in Golang
Many say Golang (or just Go) is a very good choice for developing a service for the cloud infrastructure. And that is mostly true. If you have a stateful service that requires a database in the backend, you may find it difficult to setup such cloud infrastructure and to establish a communication between the Go service and the database server. In this tutorial, you'll see Connect Your Go Service with MongoDB Atlas. A step-by-step tutorial with code snippets