Cohesion is part of the low coupling, high cohesion principle that’s supposed to keep your code maintainable.
While low coupling means few dependencies, high cohesion roughly translates to single responsibility.
Highly cohesive code (a module or a function) is focused on a...
I've recently been working on building a Go API, which is driven through an OpenAPI specification, and has almost all of the code generated through the awesome oapi-codegen.
One of the common concerns of using OpenAPI, or really any documentation, that is always difficult is keep...
When writing Go web services, it's very likely that you'll be unit testing the HTTP handlers, as well as doing some wider integration tests on your application.
Something nice about Go is the httptest package in the standard library, providing a very handy means to test HTTP logi...
Twitter Spaces with Twitter and Charm folks, discussing favorite developer tools.
This release contains several minor improvements and a couple of new features! Let’s have a look!
A couple of weeks ago I was working on adding SSH Certificate Authentication support to Wish, and did not find any good, to the point documentation on how to use certificates from the Go SSH client — hence this post.
I finally got done, moving the blog from Nikola to Hugo today.
I already wrote about why I did it.
These are a few more thoughts about what went into the endeavour; and some colophonesque details.
One, really small hope, is that it will help me learn Go.
The DevOps world that I n...
I finally got done, moving the blog from Nikola to Hugo today.
I already wrote about why I did it.
These are a few more thoughts about what went into the endeavour; and some colophonesque details.
One, really small hope, is that it will help me learn Go.
The DevOps world that I n...
When you're working on a project it's common for there to be some developer tooling dependencies. These aren't code dependencies, but rather tools that you run as part of the development, testing, build or deployment processes.
For example, you might use golang.org/x/text/cmd/...
Why and how I added proper CSV support to GoAWK, my POSIX-compatible AWK interpreter.