Golang Weekly - Test gains and memory drains

Plus a real time strategy game built in Go, and a mutation testing tool. |

#​457 — April 25, 2023

Unsub  |  Web Version

Together with  Courier logo

Go Weekly

How to Troubleshoot Memory Leaks with Grafana Pyroscope — Explore common causes of memory leaks in Go and learn to use Pyroscope, an open source continuous profiling solution, itself written in Go, to find and fix such leaks.

Cyril Tovena (Grafana Labs)

Go Integration Testing with Courage and Coverage — A tale of integrating test coverage tracking into an active Go project as part of pushing the overall coverage from a worrying 50% to a somewhat better 76%. Go 1.20’s new coverage profiling support is also showcased.

Vladimir Dementyev

Add a Full-Featured Notification Center to Your Go App in Minutes — With out-of-box user preferences and inbox, comprehensive API, web-based template designer, and automated delivery flows.

Courier.com sponsor


⏪  Revisiting Some Greatest Hits

When To Use Generics — Some general guidelines for when to use generics that boils down to one simple guideline: If you find yourself writing the exact same code multiple times, where the only difference between the copies is that the code uses different types, consider whether you can use a type parameter.

Ian Lance Taylor

Getting Familiar with Workspaces — Remember Go 1.18’s other big feature? Workspaces. Workspaces “let you work on multiple modules simultaneously without having to edit go.mod files for each module.” Beth broke down how to get started.

Beth Brown (Go Team)

A Simple Overview of Authentication Methods for Kubernetes Clusters — Kubernetes has a wide range of authentication methods. We will detail each of them and their uses in this article.

Teleport | goteleport.com sponsor

▶  How to Monitor Your Go App with Prometheus
Anthony GG

🛠 Code & Tools

Ooze: A Go Mutation Testing Tool — Fuzz testing messes around with the input to a testing scenario, but mutation testing goes one step further and changes the actual implementation of the code! The key idea is that if code can be changed but tests still pass, there’s something amiss.

Guilherme J. Tramontina

gops: List and Diagnose Currently Running Go Processes — Works with any Go-built processes but if your program can start the diagnostics agent then extra information can be obtained.

Go Team

“Our Backend Team Loves Encore!” — See how Lizza used Encore's development platform to 3x delivery speed and save 100+ hours of DevOps work per month.

Encore sponsor

Jet 2.10: Type Safe SQL Builder with Code Generation — A database access solution consisting of a type-safe SQL builder with code generation and automatic query result data mapping. It supports PostgreSQL, MySQL, CockroachDB, MariaDB and SQLite.


Hermes: A Document Management System — The folks at Hashicorp have open-sourced a tool to support their writing culture, including workflow approval, full-text search, and more. This introductory blog post shows off what it looks like.


Cobra 1.7: A Framework for Building Modern CLI Apps — A significant project in the Go CLI space oriented around structure, subcommand based CLIs, flags, generating man pages, etc. It was originally created for Hugo but is now used by numerous projects.

Steve Francia



Find a Job Through Hired — Hired makes job hunting easy-instead of chasing recruiters, companies approach you with salary details up front. Create a free profile now.

🧑‍💻 Got a job listing to share? Here's how.

🕹 And for after work hours..

Roboden: A Real Time Strategy Game — An 'indirect control' real-time strategy game about robot colonies written in Go using the Ebitengine 2D game library. Thanks to WebAssembly you can play it in the browser but native downloads are available, as is the source code.



Key phrases

Older messages

What do you get when you cross a LLaMA with a Gopher?

Wednesday, April 19, 2023

Plus when TinyGo beats C++, domain driven design in Go, and how Go calls Windows' APIs. | #​456 — April 18, 2023 Unsub | Web Version Together with JetBrains The Go Weekly Newsletter Go's Error

The smallest Go binary

Tuesday, April 11, 2023

Plus what's new in GoLand, how to parse spreadsheets from Go, GoReleaser 1.17, and treating ourselves to some Gin. | #​455 — April 11, 2023 Unsub | Web Version ℹ️ As mentioned last time, Go Weekly

'Til Tuesday

Friday, March 31, 2023

Plus it's Go 1's 11th birthday, a GUI app for viewing Go execution traces, and a new way to make and use network block devices. | #​454 — March 31, 2023 Unsub | Web Version ℹ️ A quick

Go on the Xbox?

Friday, March 24, 2023

Plus the power of single method interfaces, a new way to optimize structs, and a simple parser package built upon struct field tags. | #​453 — March 24, 2023 Unsub | Web Version Together with Ardan

Structured logging is a go

Friday, March 17, 2023

Plus real world Go concurrency examples, flame graphs, and there's more than one way to structure a Go project. | #​452 — March 17, 2023 Unsub | Web Version Together with Shortcut The Go Weekly

Apple Vision Pro, MacBook Air & iOS 17 🌎, StackOverflow moderator strike 👨‍💻, CSS blend modes 🎨

Tuesday, June 6, 2023

Apple's augmented reality headset, the Apple Vision Pro, will launch early next year starting at $3499. Sign Up|Jobs|Advertise|View Online TLDR Together With CleanMyMac X TLDR 2023-06-06 Mac full

Digest #106: I love git-blame-someone-else! 😳

Tuesday, June 6, 2023

Digest #106: I love git-blame-someone-else! 😳 #106: I love git-blame-someone-else! This week, I've compiled yet another selection of the latest insights, tutorials, and tools in the DevOps space

[New post] Microsoft .NET Code Analysis: The Rijndael and Rijndaelmanaged Types Are Superseded

Tuesday, June 6, 2023

dotNetDave posted: " Since September 2021, the Rijndael and RijndaelManaged types have been superseded by the AesManaged type. Although Rijndael is still supported in .NET, it is generally not

The Rust I wanted had no future — and Our right to challenge junk patents is under threat

Monday, June 5, 2023

Issue #1154 — Top 20 stories of June 06, 2023 Issue #1154 — June 06, 2023 You receive this email because you are subscribed to Hacker News Digest. You can open it in the browser if you prefer. 1 The

Here’s all of TechCrunch’s reporting from day one of WWDC 2023

Monday, June 5, 2023

TechCrunch Newsletter TechCrunch logo The Daily Crunch logo By Christine Hall Monday, June 05, 2023 Today, our team brings you all of the ooey, gooey Apple WWDC 2023 keynote goodness, including

JSK Daily for Jun 5, 2023

Monday, June 5, 2023

JSK Daily for Jun 5, 2023 View this email in your browser A community curated daily e-mail of JavaScript news Mini-Game Using Only HTML, CSS and JavaScript Start by creating an HTML file and open it in

Max Q - Max Q: Another day, another delay

Monday, June 5, 2023

TechCrunch Newsletter TechCrunch logo Max Q logo By Aria Alamalhodaei Monday, June 05, 2023 Hello and welcome back to Max Q! In this issue: Pixxel's new investor Mission delays for Boeing, Rocket

Daily Coding Problem: Problem #1118 [Easy]

Monday, June 5, 2023

Daily Coding Problem Good morning! Here's your coding interview problem for today. This problem was asked by Dropbox. What does the below code snippet print out? How can we fix the anonymous

Physical vs. Digital Games: Should You Buy Physical Games?

Monday, June 5, 2023

Did You Know?: The enormous geodesic polyhedron, Spaceship Earth, at the center of Walt Disney World's Epcot park, is clad in 11324 silvered isosceles triangles. If a perfect polyhedron, it would

DeveloPassion's Newsletter #124 - Polywork

Monday, June 5, 2023

Hello everyone! I'm Sébastien Dubois, your host (I'm on Twitter). You're receiving this email because you signed up for DeveloPassion's Newsletter. Thank you for being here with me ✨