Systems | Development | Analytics | API | Testing

Go

atatus

Understanding Go Channels: An Overview for Beginners

On a server infrastructure, Go code can be quickly deployed and updated across different installations as needed. It also supports a variety of operating systems and processor designs, which is a significant advantage. Some of the biggest and most well-known projects have been written completely in Go, which has emerged as the preferred language for open-source infrastructure software. For instance, Docker was created completely in Go.

atatus

How to use JSON in Golang?

JSON is among the most popular data exchange formats, while Go is mainly used for software development. In Go, the encoding/json package provides built-in support for encoding and decoding JSON data. With this package, Go programs can easily read and write JSON data to communicate with external systems, such as web services or databases, or to exchange data between different components of the same program.

moesif

Building a RESTful API with Go

When it comes to building an API, Go is an extremely popular programming language choice to build powerful RESTful APIs with. The language is super lightweight, has many different libraries and frameworks available, and is easy to run. In this tutorial, we will build a simple REST API using Go. The API endpoint will allow a user to retrieve a credit score rating.

moesif

Building a RESTful API with Go and Gin

When it comes to building an API, Go is an extremely popular programming language choice to build powerful RESTful APIs with. The language is super lightweight, has many different libraries and frameworks available, and is easy to run. One of the frameworks support by Go is Gin. Gin is a web framework written in Golang that offers great performance and scalability, amongst other features.

rollbar

How to Use errors. WithMessage() in Golang

In Golang, the WithMessage() method allows you to annotate errors with an additional message. Often, error values by themselves don’t give enough context to be useful in debugging. Take, for example, Golang’s basic error handling technique: In Golang, errors are treated as values, so err contains the error value. In this situation, a developer could make use of the error package to add context to the code along with the failure path without destroying the original value of the error.

rollbar

How to Wrap and Unwrap Errors in Golang

In Golang, wrapping errors means adding more contextual information to the error which has been returned. For example, the additional information could be the type of error, the cause of the error, or the name of the function where the error is raised. Wrapping is very useful for debugging since you can precisely and quickly locate the source of the problem.

Yarden Laifenfeld's talk at GopherCon Europe 2022- "From OOP to Go"

Picking up Go after mastering OOP languages often leads to common yet avoidable mistakes. The question is - how can we avoid them? Taking the example of inheritance, we will discuss how our process of thought needs to change when developing programs in Go compared to OOP languages.