Operations | Monitoring | ITSM | DevOps | Cloud

Go

How HTTP/2 Works and How to Enable It in Go

Once you’re comfortable with net/rpc from previous article (From net/rpc to gRPC in Go Applications), it’s probably a good idea to start exploring HTTP/2, which is the foundation of the gRPC protocol. How HTTP/2 Works and How to Enable It in Go This piece leans a bit more on the theory side, so heads-up, it’s text-heavy. We’ll focus on understanding HTTP/2 and then briefly touch on enabling it in Go. So, grab a coffee, settle in, and let’s break it down.

Go Client Library for InfluxDB 3.0

In a world driven by data, efficient time series data management is a growing concern. APIs play a significant role in automating tasks, especially in cloud-based environments. Go, with its high performance and concurrency, is quickly becoming one of the standard languages for writing cloud infrastructure and utilities for managing streams of data.

6 Golang Testing Frameworks for Every Type of Test

What do good tests look like, and do you even need a Golang testing framework? It’s a loaded question with an open answer. Not only do tests help ensure that your code will work as intended, but good tests can also serve as documentation for your codebase, making it easier to update and maintain in the future, while accelerating and streamlining your software development process. In this article, we outline 6 Golang testing frameworks for every type of test.

Golang Wrapper: Dependency Wrapping, in Go

All but the simplest applications borrow code. You could write everything yourself from just core language features but who has time for that? Instead you take on dependencies, pieces of code written by others that usually give us 80% or more of what we need with 20% of the effort. Sometimes these dependencies are made to interact with a specific technology like a database, or perhaps it’s just a library providing some feature that would be onerous to write yourself.

How to spot and fix memory leaks in Go

A memory leak is a faulty condition where a program fails to free up memory it no longer needs. If left unaddressed, memory leaks result in ever-increasing memory usage, which in turn can lead to degraded performance, system instability, and application crashes. Most modern programming languages include a built-in mechanism to protect against this problem, with garbage collection being the most common. Go has a garbage collector (GC) that does a very good job of managing memory.

Testing Golang with httptest

Go, often referred to as Golang, is a popular programming language built by Google. Its design and structure help you write efficient, reliable, and high-performing programs. Often used for web servers and rest APIs, Go offers the same performance as other low-level languages like C++ while also making sure the language itself is easy to understand with a good development experience.

Mastering Golang Mocks for Efficient Testing and Improved Code Quality

Although GoMock is one of the most popular ways to create mocks in Golang, it’s important to understand the broader landscape of mocking methods in the language to fully leverage its potential value in testing. Mocking is a powerful technique that allows developers to isolate their code, improve test reliability, and ultimately enhance overall code quality.

Crafting the Best Golang Developer Environments

Go is an open-source programming language and developer environment from Google that allows for incredibly efficient and powerful applications. Go’s expressive syntax enables developers to write clean, efficient, concise code, allowing faster development cycles and easier maintenance. Whether you’re developing complex distributed systems or lightweight microservices, Go and its powerful libraries provide the tools necessary to create robust and scalable solutions.