Using Go's `database/sql` to query an arbitrary columns of unknown type(s)

As part of some work I'm doing on dependency-management-data to add a pure-Go database browser, I want to be able to accept arbitrary SQL and query it. However, I found that trying to do this with Go's database/sql, this didn't work super nicely with the anys that get returned by...

Live website updates with Go, SSE, and htmx

In case you missed the memo, the Single Page Application hype period is over, and we’re now back to PHP and jQuery, I mean rendering HTML on the server. I’m excited! It brings me back to the early 2000s when we were all web developers, not frontend or backend engineer...

Errors, errors, and errors again

#​510 — June 11, 2024 Unsub  |  Web Version Go Weekly An Applied Introduction to eBPF with Go — eBPF is a technology that allows running sandboxed programs within the Linux kernel, enabling a wide range of advanced networking, secu...

Ep. 5: Efficient Concurrency in Go: Managing GoRoutines and Load Shedding

Introduction: In this installment, Bill delves into the concept of load shedding in Go, explaining its importance in managing GoRoutines and ensuring clean shutdowns. How to manage GoRoutines using a parent-child relationship model to prevent orphan GoRoutines. The role of lo...

Starlink: installation, first impressions, and running it through UniFi

This weekend’s side quest: installing Starlink as my second internet provider. Here’s how it went.

Go 1.22.4-1 and 1.21.11-1 Microsoft builds now available

The Microsoft builds of the Go security patches released today, June 4, are now available for download. The post Go 1.22.4-1 and 1.21.11-1 Microsoft builds now available appeared first on Microsoft for Go Developers.

Generating Go boilerplate from OpenAPI specs

#​509 — June 4, 2024 Unsub  |  Web Version 🫣 We took a break last week, but forgot to notify you in advance - sorry! You didn't miss anything, and we're catching up with the past two weeks today :-)__Your editor, Peter Cooper Go Weekly...

Announcing GoReleaser v2

The new major version of GoReleaser is here!

Ep. 4: Mastering Kubernetes Networking: Essential Insights for Efficient Deployment

Introduction: In this detailed discussion, Bill delves into the critical aspects of networking within Kubernetes clusters, emphasizing the necessity of properly defining services to manage internal and external communication effectively. Learn the critical role of service defin...

Reading Google Sheets from a Go program

I recently needed to process some data from a Google Sheet in a Go program, and was looking for the most straightforward way to do so on my local machine. This post lists some approaches that I found to work, with full source code. To access the Sheets API, you'll …