#go
Rotating Logfile in Go
Implementing a simple rotating logfile in Go.
Read this postSimple Sitemap HTTP Handler in Go
Simple Go HTTP handler that pre-renders and serves a sitemap.xml file.
Read this postParsing and Rendering Markdown in Go
Simple helper to parse and render Markdown in Go.
Read this postSending Emails in Go
Simple helper to send emails (via an external SMTP relay) in Go.
Read this postMerging Multiple File Systems (fs.FS) in Go
Simple helper to merge multiple fs.FS in Go.
Read this postGenerating (Human-Friendly) IDs in Go
Simple helper to generate cryptographically-safe random IDs in Go.
Read this postMulti-stage Go Container Build
Build your Go container properly with multi-stage builds.
Read this postGo Panic Recovery HTTP Middleware
A simple Go panic recovery HTTP middleware implemention.
Read this postPushing Logs to Loki with Go
Push logs to Loki HTTP API with Go (only using the standard library).
Read this post