Golang Digest
2.58K subscribers
163 photos
1 video
189 links
Everything about Go: news, articles, tools, language changes, etc.

#go #golang #concurrency #postgres #database #db
Download Telegram
GoReleaser v2.5

One of the most popular libraries that simplifies the release process for Go has been updated - GoReleaser! The new version reaches a new level: the author added support for two increasingly popular languages: Rust and Zig!

List of all changes

#go #go@digest_golang #tool #tool@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Golang Error Handling — Improvised (Must Pattern) 🚀🚀

Error handling is a core part of any programming language. However, Go’s approach to error handling often leads developers to write verbose, repetitive code — a sentiment shared by many in the Go community. Let’s explore why this redundancy happens, the limitations it brings, and what potential solutions could look like.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
What are the best Go books in 2025? ❤️

The author has reviewed some new and already classic books about the Go language that he thinks are worth reading.
Let's start the year by reading great literature about our favorite language!

Link to the list

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Go Developer Survey 2024 H2 Results ❤️

The newest survey results from the Go community have been published. Linux and macOS are the most popular operating systems, VS Code and GoLand top the list for IDEs, and AWS stands out among cloud services.

Full statistics

#go #survey #goblog #go@digest_golang #survey@digest_golang #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Rust vs Go in 2025 🤜

Interesting thoughts on which language is better from John Arundel - a developer with 40 years of experience and the author of many books on Go and Rust.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Build Go applications using Project IDX and the Gemini API ❤️

Project IDX is an AI-powered workspace for building rich apps in the cloud. In this article, the folks at Google show you how to build Go apps in minutes using Project IDX.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Go 1.24 interactive tour ❤️

Go 1.24 is scheduled for release in February, so it's a good time to explore what's new. The official release notes are pretty dry, so the author prepared an interactive version with lots of examples showing what has changed and what the new behavior is. Read on and see!

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
if got, want: A Simple Way to Write Better Go Tests 🤡

There’s an excellent Go testing pattern that too few people know. You can learn it in 30 seconds.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Make an MMO with Godot 4 + Golang

A thirteen video YouTube series on building a multiplayer online game using the popular Godot game engine (no relation to Go) and with Go handling the backend.

https://www.youtube.com/playlist?list=PLA1tuaTAYPbHAU2ISi_aMjSyZr-Ay7UTJ#goandgodot

#go #go@digest_golang #video #video@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Exploring the new "go tool" support in Go 1.24 🤓

Go 1.24 introduces new support for "Tools", which allows easy consumption of tools (which are written in Go) as a dependency for a project. This could be anything from golangci-lint to protoc-gen-go.
In this post the author cover usage and limitations.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
The proposal has appeared suggesting to add the ? operator to handle errors. The author suggests instead of the usual notation:

r, err := SomeFunction()
if err != nil {
return fmt.Errorf("%v", err)
}


add the ability to do this:

r := SomeFunction() ? {
return fmt.Errorf("%v", err)
}


The err variable inside the braces will automatically contain the error.
The discussion was heated. Some people like this idea, while others say that it breaks the philosophy of Go and makes the language more complicated.
Go Slices and Subslices: Understanding Shared Memory and Avoiding `append()` Pitfalls 🔨

Go is often praised for its simplicity and efficiency — "Go just gets the job done," as they say. For those of us coming from languages like C, C++, or Java, Go’s straightforward syntax and ease of use is refreshing. However, even in Go, certain quirks can trip up developers, especially when it comes to slices and subslices. Let's uncover these nuances to better understand how to avoid common pitfalls with append() and shared memory in slices.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Real-Time Batching in Go 🔨

Batching is a well-known optimization technique. You see it everywhere: batch inserts in databases, MGET/MSET in Redis, various bulk APIs. The benefits are clear — it’s faster, cheaper, and less rate-limited. These benefits usually come at the cost of slightly more complex code and some boilerplate.

But how do we cleanly batch something we can’t see yet? Something that’s arriving in real time.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
Go slice gotchas 🔨

Just like any other dynamically growable container structure, Go slices come with a few gotchas. We don’t always remember all the rules we need to be aware of. So this is an attempt to list some of the most common mistakes I’ve made at least once.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
A round up of Go 1.24's performance improvements ❤️

We all want our code to run as fast as possible. But have you ever stopped to wonder how many microseconds it takes to do a map lookup in Go? Or how much memory gets allocated when you create a small object? The Go team thinks about this stuff constantly, and in Go 1.24, they’ve made some pretty exciting improvements that make everything about 2-3% faster.

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Go's map does not shrink 👾

Go's map does not shrink (in terms of allocated memory). Sorry, but it just doesn't...

Link to the article

#go #go@digest_golang #article #article@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM
Go 1.24 is released! ❤️

Go 1.24 comes with many improvements over Go 1.23. Here are some of the notable changes; for the full list, refer to the release notes.

The main changes in this version are:
* The go tool mechanism for tracking tool dependencies
* The use of Swiss Tables to speed up map operations
* Experimental testing/synctest package for testing concurrent code
* Improved WebAssembly support
* and much more, for details see the link: https://go.dev/blog/go1.24

#go #go@digest_golang #goblog #goblog@digest_golang
Please open Telegram to view this post
VIEW IN TELEGRAM