This blogpost delves into the new cleanup function feature in Go, which simplifies resource management in tests. It also explores the concept of weak references and how they can be used to handle cached data more effectively.
https://go.dev/blog/cleanups-and-weak
https://go.dev/blog/cleanups-and-weak
go.dev
From unique to cleanups and weak: new low-level tools for efficiency - The Go Programming Language
Weak pointers and better finalization in Go 1.24.
A simple, battle-tested and generic set type for the Go language. Trusted by GoogleCloudPlatform, Docker, 1Password, Ethereum and Hashicorp.
https://github.com/deckarep/golang-set
https://github.com/deckarep/golang-set
GitHub
GitHub - deckarep/golang-set: A simple, battle-tested and generic set type for the Go language. Trusted by GoogleCloudPlatform…
A simple, battle-tested and generic set type for the Go language. Trusted by GoogleCloudPlatform, Docker, 1Password, Ethereum and Hashicorp. - deckarep/golang-set
❤1
This write-up explores various methods for interacting with SQL databases in Go, from using the standard library to leveraging third-party packages. The author provides insights into the trade-offs of each approach, helping readers choose the best tool for their needs.
https://packagemain.tech/p/different-ways-of-working-with-sql
https://packagemain.tech/p/different-ways-of-working-with-sql
packagemain.tech
Different ways of working with SQL Databases in Go
Comparing database/sql, sqlx, GORM and sqlc.
🔥1
Mohamed Said offers a guide on constructing a secure session manager in Go, emphasizing the importance of cryptography and proper cookie management. This tutorial provides practical code examples to help developers implement a robust and safe authentication system.
https://themsaid.com/building-secure-session-manager-in-go
https://themsaid.com/building-secure-session-manager-in-go
Themsaid
Building a Secure Session Manager in Go
👍1🔥1
⏰ 🔥 A TCP proxy to simulate network and system conditions for chaos and resiliency testing
https://github.com/Shopify/toxiproxy
https://github.com/Shopify/toxiproxy
GitHub
GitHub - Shopify/toxiproxy: :alarm_clock: A TCP proxy to simulate network and system conditions for chaos and resiliency testing
:alarm_clock: :fire: A TCP proxy to simulate network and system conditions for chaos and resiliency testing - GitHub - Shopify/toxiproxy: :alarm_clock: A TCP proxy to simulate network and system co...
❤2
This paper discusses the advantages of the native FIPS support introduced in Go 1.24, a significant feature for developers in regulated industries. It explains how this integration simplifies compliance and enhances the security of Go applications.
https://developers.redhat.com/articles/2025/03/10/benefits-native-fips-support-go-124
https://developers.redhat.com/articles/2025/03/10/benefits-native-fips-support-go-124
Red Hat Developer
The benefits of native FIPS support in Go 1.24 | Red Hat Developer
The Go programming language has reached another significant milestone with the release of version 1.24. We at Red Hat are particularly excited about one of its standout features, native FIPS 140-3
👍2
The Go team's new os.Root function provides a sandboxed view of the filesystem, enhancing security and preventing path traversal attacks. This text explains the motivation behind the feature and how it can be used to build more secure applications.
https://go.dev/blog/osroot
https://go.dev/blog/osroot
go.dev
Traversal-resistant file APIs - The Go Programming Language
New file access APIs in Go 1.24.
🔥1
This post examines the use of structs and interfaces in Go, fundamental concepts for building flexible and maintainable software. It provides clear examples of how to define and implement these types to create well-structured programs.
https://getstream.io/blog/go-structs-interfaces/
https://getstream.io/blog/go-structs-interfaces/
getstream.io
Go Structs and Interfaces Made Simple
Learn how Go's structs and interfaces work, how they differ from traditional OOP, and how to leverage composition over inheritance for cleaner, more maintainable code.
👍1
This publication explores the utility of multiple return values in Go, a feature that allows functions to return both a result and an error status. The author demonstrates how this pattern contributes to writing cleaner and more explicit code.
https://herecomesthemoon.net/2025/03/multiple-return-values-in-go/
https://herecomesthemoon.net/2025/03/multiple-return-values-in-go/
MOND←TECH MAGAZINE
Were multiple return values Go's biggest mistake?
Yet another article complaining about Go’s error handling.
This documentation covers essential benchmarking techniques in Go 1.24 that developers should not overlook. Paweł Jarosz shares practical advice on how to accurately measure and optimize code performance.
https://jarosz.dev/code/benchmarking-what-you-cannot-miss-in-go-1.24/
https://jarosz.dev/code/benchmarking-what-you-cannot-miss-in-go-1.24/
Jakub Jarosz
Benchmarking: What You Can't Miss in Go 1.24
For us Go developers, writing less code means fewer opportunities to make mistakes. But how about achieving more by doing less? That sounds appealing. Isn’t it? And how about spending less time writing code to force the compiler not to optimise the benchmarking…
❤1
In this piece, you'll find out how engineers at GitHub approach the challenge of understanding new codebases. The authors share strategies and tools that can help any developer quickly become productive in an unfamiliar project.
https://github.blog/developer-skills/application-development/how-github-engineers-learn-new-codebases/
https://github.blog/developer-skills/application-development/how-github-engineers-learn-new-codebases/
The GitHub Blog
How GitHub engineers learn new codebases
Strategies to quickly get up to speed, whether you're a seasoned engineer or a newcomer to the field.
👍1
In his post, Thomas Paschalis discusses the design trade-offs between using shallow versus deep interfaces in software architecture. He argues that thoughtful consideration of interface depth is crucial for creating maintainable and scalable systems.
https://tpaschalis.me/shallow-vs-deep-interfaces/
https://tpaschalis.me/shallow-vs-deep-interfaces/
tpaschalis.me
Deep vs Shallow Go interfaces
I recently read A Philosophy of Software Design by John Ousterhout (of Tcl/Tk, Raft, Sprite fame).
The Storj blogpost dives into a low-level performance optimization question related to integer multiplication in Go. It carefully analyzes whether a specific compiler optimization provides a tangible benefit in real-world scenarios.
https://storj.dev/blog/two-mul-or-not-two-mul
https://storj.dev/blog/two-mul-or-not-two-mul
storj.dev
Two mul or not two mul: how I found a 20% improvement in ed25519 in golang | Storj Engineering Blog
Low level optimizations are tricky and sometimes unintuitive. We'll take a look at a story of optimizing ed25519 signing and verification.
A lightweight Go package to generate unique, symmetric identicons based on an input string. Easily integrate with your Go project to create visual avatars for users.
https://github.com/MuhammadSaim/goavatar
https://github.com/MuhammadSaim/goavatar
GitHub
GitHub - MuhammadSaim/goavatar: A lightweight Go package to generate unique, symmetric identicons based on an input string. Easily…
A lightweight Go package to generate unique, symmetric identicons based on an input string. Easily integrate with your Go project to create visual avatars for users. - MuhammadSaim/goavatar