Traversal-Resistant File APIs — Among the lesser known new features in recent versions of Go are some ways to improve file system security when end user input might have an impact on file paths your app tries to access, including os.Root , filepath.IsLocal , filepath.EvalSymLinks and filepath.Localize . A must read.
Damien Neil
|
Were Multiple Return Values a Mistake for Go? — An interesting technical post critiquing the effects of one of Go’s earliest design decisions. This is an area where opinions will differ strongly, but the author thinks Go sorely needs to support tuples.
Mond
|
Go Structs and Interfaces Made Simple — An introduction (or refresher) of Go’s core building blocks when it comes to working with data types and structs – an approach that differs somewhat from those favored in object oriented languages like C++ or Java.
Deven J (Stream)
|
doomgeneric: Doom, Ported to Go? — If classic 90s FPS Doom can be ported to JavaScript and made to run inside a PDF, a Go port should be a piece of cake, right? Here’s a little slice of magic involving using the ccgo C-to-Go compiler. Don't get too excited though as it's a limited proof of concept and Linux only, but it's neat to see what ccgo is capable of.
cznic
|
Participle: A Simple Library for Defining Parsers — Provides a straightforward yet idiomatic way to define parsers in Go using a familiar approach of using struct field tags to define a grammar, so if you’ve used encoding/json before, you’re well on your way.
Alec Thomas
|
-
Glamour 0.9 – Stylesheet-based Markdown rendering for CLI apps, now with better syntax highlight and tables.
-
Toxiproxy 2.12 – Simulate 'chaotic' network conditions in both testing and development environments.
-
🐍 Viper 1.20 – Config solution for Go apps supporting various file formats and environment variables.
-
📰 Fusion 0.9 – Lightweight, self-contained feed aggregator and reader. Built with Go, SQLite, and Svelte.
-
go-github v70.0.0 – Go client library for accessing the GitHub API v3.
-
River v0.19 – Robust job processing system for Go and Postgres.
-
GoReleaser v2.8 – Mostly improvements to the Pro version.
-
TOML 1.5 – TOML config file parser for Go.
|
|