Go
Go Style Styleguide
This is the foundational Go style guide at Google.
Go Style | StyleguideThe Go Style Guide and accompanying documents codify the current best approaches for writing readable and idiomatic Go.
Friday, November 18, 2022
Use Internal Packages to Reduce Public API Surface
An oldie, but goodie. This came up in discussion today, and wanted to link it for future reference.
If your project contains multiple packages you may find you have some exported symbols which are intended to be used by other packages in your project, but are not intended to be part of your project’s public API. Although Go has limited visibility modifiers – public, exported, symbols and private, non exported, symbols – internal packages provide a useful mechanism for controlling visibility to parts of your project which would otherwise be considered part of its public versioned API.
Wednesday, May 26, 2021
Quick Tip: Remove Query Param from URL in Go
How to easily remove query string parameters from a url.URL
in Go.
Today’s short post shows how simple it is.
Wednesday, June 1, 2016
Mail Queue Dispatcher
When writing web applications, one often has to send email as a part of the notification or registration process.
Sending email through an SMTP server directly from your main web application thread can block for an unreasonable amount of time while serving a response page that is waiting for the email to be delivered.
Wednesday, July 1, 2015
Software Consulting
Note I’m transitioning all consulting work over to Tempus Breve Software. This page is now out of date, and mostly historical.
I specialize in web application development, both back-end and front-end, and also webservices, systems integration, devops, and databases.
I’m usually able to take a web site or application from idea to MVP – initial build, and hosted – in just a few hours.
Thursday, May 7, 2015
Up to all Tags