Go Community Linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Go community here or just enjoy what everyone else has found!


Packaging a Go application for macOS

This is a quick guide about how you can package up a Go program — with or without external resources — for macOS. It can then be downloaded, installed, and run as if it were a native Cocoa app. It does not require XCode, cgo or any special libraries.

Read More

 Brian Scott


Abstractions, The Costs

The drawbacks of unthoughtful usage of abstractions (for the sake of using abstractions, blindly) and it's costs posed upon developers and teams and how Go philosophy helps with avoiding code bloat and mind bloat: Abstractions, The Costs.

 Kaveh Shahbazian


Run Functions on App Exit

This package allows to run functions on app exit - like an app-level defer statement. Functions are placed inside a priority queue and are called based on their priority (not the order they've got added): onexit.

 Kaveh Shahbazian


JSON API's are just web applications @joncalhoun

A common misconception, especially amongst new developers, is that learning to create an API is vastly different from learning to build an a web application that renders server side HTML. This notion is further compounded by the fact that there are many frameworks and libraries designed specifically for building APIs; Ruby has Rails::API, Python has the Django REST Framework, and there are countless others out there.

Blog Post

 Brian Scott


Building a mobile frontend for a Go application using Flutter. #Flutter #MobileDev

In this blog post, I will show how an existing Go application (as we'll see, with some adaptations) can be used from Flutter, so you can write the GUI side of the application in Dart (instead of one for Android, one for iOS), and the "back-end" mostly in Go (rather than duplicate the logic in Java/Kotlin and Objective-C/Swift), with only a thin glue-code layer written in the platform's native language (in our case, Kotlin on Android, Swift on iOS).

Read More

 Brian Scott