Code Coverage for Go Integration Tests — While Go has had coverage support at the package test level for almost ten years, coverage for integration tests run outside of the go test mechanism has been non-existent. With Go 1.20, it’s possible to instrument a binary and generate coverage files for both the module code and dependent packages.
Than Macintosh
|
Go! Experts at Your Service — Do you need help filling skill gaps, speeding up development & creating high performing software with Go, Docker, K8s, Terraform and Rust? We’ll help you maximize your architecture, structure, tech-debt and human capital.
Ardan Labs Consulting sponsor
|
A Journey to High-Perf JSON Parsing in Go — A distributed SQL database needs to maximize data parsing, so CockroachDB’s (very successful) story about doing so is worth the read. The answer came from a somewhat unexpected place and benefits anyone looking to speed up JSON parsing.
Yevgeniy Miretskiy (CockroachDB)
|
Getting Started with Multi-Module Workspaces — Potentially overlooked in Go 1.18 because they weren’t generics, workspaces let you tell the Go command you’re writing code in multiple modules at the same time and easily build and run code in those modules.
Official Go Docs
|
errors.Join Loves defer ? — In Go 1.20, you can join errors so that original errors aren’t overridden. William looks at how nicely this meshes with the use case of handling close errors in a defer .
William Wennerström
|
ngrok-go: Ingress to Your Go Apps as a net.Listener — ngrok is a long standing tool (and, increasingly, commercial service) for opening up a locally hosted service to the public Internet and now there’s an idiomatically Go way to embed ngrok-style ingress into apps.
Alan Shreve (ngrok)
|
Valgo: An Expressive Validator Library — Type-safe and extensible validator library that supports localization and is built upon generics. “Valgo differs from other validation libraries in that the rules are written in functions and not in struct tags. This allows greater flexibility and freedom when it comes to where and how data is validated.”
Cohesive Stack
|
Gool: A Generic Goroutine Pool — If you’re familiar with Python’s ThreadPoolExecutor, you might like this as it provides sync and async versions of Submit and Map to run tasks.
Tommy Tian
|
Site Reliability Engineer — Join our "kick ass" team. Our software team operates from 17 countries and we're always looking for more exceptional engineers.
Sticker Mule
|
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.
Hired
|
|
|