#477 — September 26, 2023 |
|
Go Weekly |
Organizing a Go Module — It’s common for Go developers to think about how to organize the files and directories in projects (some of our most popular links have been on this topic). The Go project itself has tended to be quiet on the topic and has let the community figure out best practices, which has led to issues in the past, so it’s nice to see them publish something more official now. The Go Team |
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 |
Fixing David Chase and Russ Cox |
QUICK BITS:
|
Failsafe: Fault Tolerance and Resilience Patterns — A new Go library for building fault-tolerant apps where you can wrap code in various resilience policies such as Retry, CircuitBreaker, RateLimiter, Timeout, and Fallback. It supports async execution, cooperative cancellation, and event listeners. Jonathan Halterman |
GitHub Actions Could Be So Much Better — Actions is a useful service, but the developer experience leaves much to be desired. If you’ve been frustrated when setting up and debugging workflows, you’ll find much to nod along with. William Woodruff |
How (Not) to Apply for a Software Job — Not Go specific, but one of our favorite Go bloggers. Ben Hoyt |
Temporal 101 & 102 Courses in Go — Learn Temporal's open source key concepts and best practices with our free self-paced training courses in Go. Temporal Technologies sponsor |
Top 10 Tips for Instrumenting Go Apps with New Relic — While this is part five of a series, it’s the one that summarizes all ten tips in one place. Steve Ng (New Relic) |
Replacing Python with Go and Reducing Our Docker Image Size by ~87%
|
Implementing Enumerations in Go
|
🛠 Code & Tools |
Ebitengine v2.6.0: The 2D Game Engine — Ebitengine (formerly Ebiten) is the best known approach for building 2D games in Go that can run across numerous platforms (even including the Nintendo Switch). v2.6 improves Windows support, lets you control which monitor displays your game, provides a mouse cursor passthrough ability, and more. Hajime Hoshi |
Encore: Developer Productivity Platform for Go Development — Encore automates development tasks and infrastructure to shorten feedback loops, improve quality, and 2x productivity. Encore sponsor |
Sonnet: A High(er) Performance JSON Library — “Fully compatible with the Go standard library, Both the encoder and the decoder passed all tests from it.” The author has benchmarks, but has also written an explanatory post on his approach. Sugawara Yuuta |
Afero 1.10: A Filesystem Abstraction System for Go — A single consistent API for accessing a variety of filesystems. Also lets you create mock and testing filesystems that don’t rely on disk at all. Steve Francia |
Flameshow: A Terminal Flamegraph Viewer — Before you whip out laixintao |
automaxprocs: Automatically Set Uber Golang |
|
|
🤔 PHP? |
FrankenPHP 1.0 Beta: Another PHP App Server — Your eyes do not deceive you. This is still Go Weekly, but FrankenPHP is a new app server for PHP, written in Go and built on top of Caddy, that simplifies the deployment of PHP apps. If this idea sounds familiar, you may have encountered RoadRunner, another Go-powered PHP app server that takes a very different approach. Kévin Dunglas |