On Wednesday, I'll be releasing oapi-codegen v2, which is my first v2 release of a Go module.
To prepare for this I've been practicing doing a v2 release, so thought I'd write about as a form of blogumentation.
The changes required aren't too large, we need to:
Update the go.mod...
Ken Thompson’s Turing award lecture, running in your browser.
Ken Thompson’s Turing award lecture, running in your browser.
For a recent project, I wanted to
have some JS code (in multiple files) available for testing from the command-line
with Node.js, but also to be able to load the same code into a web page to be
invoked directly from a browser.
I've encountered this same issue before …
#481 — October 24, 2023
Unsub | Web Version
Go Weekly
! 'Bang'-ing Errors in Go? — Criticisms of the verbosity of error handling in Go are common, but proposed solutions? Much less so. Ted suggests a syntax initially using excl...
As I announced recently, oapi-codegen, the OpenAPI to Go code generator that I co-maintain, will soon release a v2 release to allow us to reduce the size of the library's dependencies by roughly ~84%.
This is a pretty good saving, and has resulted in the following changes:
B...
An access token should be initialized and refreshed from a central place, yet be available to umpteenth of client sessions. Dynamic futures to the rescue.