Automating boilerplate/scaffolding code with custom code generation in Go, with jen
(3 mins read).

How to generate Go code using github.com/dave/jennifer
.
Automating boilerplate/scaffolding code with custom code generation in Go, with jen
(3 mins read).
How to generate Go code using github.com/dave/jennifer
.
Debugging HTTP Client requests with Go (2 mins read).
How to add debug logging to http.Client
in Go.
Say goodbye to preemptive interfaces
Today, we're excited to announce ngrok-go, our idiomatic Go package for embedding secure ingress directly into your Go applications. If you’ve used ngrok before, you can think of ngrok-go as the ngrok agent packaged as a Go library.
A hot take.
Getting a --version
flag for Cobra CLIs in Go, built with GoReleaser (2 mins read).
How to get Cobra to provide a --version
flag when using GoReleaser.
How I switched hosting my Go-based side projects from Amazon EC2 to Fly.io, significantly simplified deployment, and saved a bit of cash while I was at it.
I was recently debugging an issue in some integration-style Go tests which made me realize that I didn't have a very deep understanding of how parallelism works when using `go test`.
Cross-compiling a CGO project using Goreleaser (2 mins read).
How to use goreleaser-cross
to cross-compile a Go command-line tool.
Costs and benefits of running <code>golvulncheck</code> automatically as part of CI.
So.. do I submit talks? 👀
🎙 Go Conferences 2023 🎙 CFPs deadlines 👇🏼 🇩🇪 @gopherconeu (Berlin) 26/02 papercall.io/gceu23 🇬🇧 @gopherconuk UK (London) 27/02 gophercon.co.uk/speakers/cfp/ 🇺🇸 @GopherCon US (San Diego) 13/03 papercall.io/gophercon-2023 🇮🇹 @dev_bcn (Barcelona) 01/05 sessionize.com/devbcn23/Donia Chaiehloudj (@doniacld)Mon, 30 Jan 2023 16:17 GMT
Introducing dmd
, a command-line tool for Dependency Management Data (DMD) (2 mins read).
Introducing a command-line tool for better interacting with databases for managing dependency management data.
Determining missing translation keys from gettext .po
files (1 mins read).
Creating a Go command to check for missing translation keys across gettext .po
files.
Listing secrets stored in CircleCI (1 mins read).
How to list all the secrets in your CircleCI organisation.
CircleCI API (V2) Client Library in Go. Contribute to grezar/go-circleci development by creating an account on GitHub.
In the two years since I've posted I want off Mr Golang's Wild Ride , it's made the rounds time and time again, on Reddit, on Lobste.rs, on HackerNews, and elsewhere. And every...
Using Renovate to manage updates to go install
commands (1 mins read).
How to run Renovate to manage dependency version updates for cases where you're go install
ing them.
Using Renovate to manage updates to golangci-lint
versions (1 mins read).
How to run Renovate to manage your golangci-lint
dependency versions, using the official installation script.
There are numerous blog posts about table-driven tests in Go. In this blog post, I want to show a technique we have recently started using in our unit tests. I saw it the first time when my friend Matt Layher introduced it to me at work, and since then, I
vacuum is the worlds fastest OpenAPI 3, OpenAPI 2 / Swagger linter and quality analysis tool. Built in go, it tears through API specs faster than you can think. vacuum is compatible with Spectral r...
How to statically link Go, updated for 2022
Constructs and snippets to build your job queue in Golang.
This paper First appeared in My blog , if you think it's useful, please like the collection and let more friends see it. Recently, I developed a very simple tool, the total code is less than 200 lines. Today, briefly introduce it. What tool is this? It is a tool for visualizing Go Module depenUTF-8...
Golang online books, articles, tools, etc.
libopenapi is a fully featured, high performance OpenAPI 3.1, 3.0 and Swagger parser, library, validator and toolkit for golang applications. - pb33f/libopenapi
Generate interfaces from structure methods. Contribute to vburenin/ifacemaker development by creating an account on GitHub.
How we host our own internal Proxy and internal pkg.go.dev at Xendit
lambda-go-api-proxy makes it easy to port APIs written with Go frameworks such as Gin (https://gin-gonic.github.io/gin/ ) to AWS Lambda and Amazon API Gateway. - GitHub - awslabs/aws-lambda-go-api-...
Go version 1.13 includes new functions to work with errors. These functions are expired by popular github.com/pkg/errors package. Let’s see if new wrapper can replace existing library.
Practice your Go movements 🥋. Contribute to jreisinger/gokatas development by creating an account on GitHub.
Announcing vulnerability management for Go, to help developers learn about known vulnerabilities in their dependencies.
If have a general #golang rule for the following code snippet. I like the first call to Claim over the second. General Rule: When the API is only returning an error value and you are not using the short variable declaration operator ( := ), question the choice.William (Bill) Kennedy (@goinggodotnet)Mon, 29 Aug 2022 14:06 +0000
Linter checks if examples are testable (have an expected output) - GitHub - maratori/testableexamples: Linter checks if examples are testable (have an expected output)
Gotcha: testable examples in Go need an output
comment (2 mins read).
Beware that your Go Example
tests may not actually be running.
Introducing the tidied
tool, to more easily check whether go mod tidy
has been run (2 mins read).
Why I've created a command-line application called tidied
to check go mod tidy
has been run.
Learn how to perform some operations before a request is processed in Go
Go 1.19 has shipped. A few things I’d love to see next.
Converting HTTP requests to Wiremock stubs, with Go (2 mins read).
How to take an HTTP request and convert it into a Wiremock JSON mapping, on the command-line, in Go.