#476 — September 19, 2023 |
|
Go Weekly |
fx 30: The Go-Powered Terminal JSON Viewer — Anton Medvedev |
On WASI Support in Go — Recent versions of Go have introduced the ability to target WebAssembly and the WebAssembly System Interface (WASI) that enables WASM to interact with the outside world. This post covers the basics and shares where things stand with Go’s still-nascent support. Brandhorst-Satzkorn, Fabre, Gryski, et al. |
Add Fully-Featured Auth to Your Go App with Two Lines of Code — Easy, secure, and affordable: pick three. FusionAuth is auth built for devs, by devs. FusionAuth sponsor |
QUICK BITS:
|
Crafting a Language Server in Go: A VSCode LSP for Lama2 — Lama2 (not to be confused with Meta’s Llama 2 LLM) is a plain-text-driven API manager and REST API client. The team behind this post used Go to create an LSP for Lama2 and have explained how it came together and why Go was a good fit. Athreya aka Maneshwar |
Use Your Database to Power State Machines — How to build a state machine using Go and your database to have clear states and transitions with concurrency-safe code, along with a consistent audit trail. Lawrence Jones |
A Developer’s Guide to Getting Started with Temporal — Use this Go SDK guide to see how Temporal OSS delivers durable execution for your services and applications. Temporal Technologies sponsor |
▶ Discussing Go Templating using Templ
|
🛠 Code & Tools |
PTerm: A TUI Framework for Go — An extensive library packed with components for improving the output of your command line apps, including things like charts, lists, trees, fancy logging, spinners, and more. Documentation site. pterm project |
static-server: An HTTP Server in Go for Static Content — Eli’s made it as simple as just running a single Eli Bendersky |
Encore: The Developer Productivity Platform for Go Backend Development — Encore automates development tasks to shorten feedback loops, help collaboration, improve quality, and 2x productivity. Encore sponsor |
Maroto 1.0: Generate Entire PDFs within Go — Uses a particularly fluent, grid-based approach. Here’s a thorough code example of creating an invoice PDF, along with the resulting output. Johnathan Fercher da Rosa |
u: Adding an 'Unset' State to Go's Types — For when you want to know if a value has been set or not. Lea Anthony |
Goyave: An Elegant Go REST Framework — Provides structure, routing, a configuration system, and, importantly, pretty extensive documentation and sample code. GitHub repo. Jérémy Lambert |
|
|