K Cartlidge

Go/Golang projects

EnsureLocal

Scan a nested folder structure, ensuring files are all available locally. For use with synced cloud folders especially, given their habit of removing local versions to save space (eg OneDrive which keeps ‘forgetting’ the option to keep files locally).

Source

NearGothic

Generate strongly-typed Go database access code directly from your Postgres database schema. Creates complete projects with all assets, modules, etc.

Source

Static Sites

Serve multiple static sites from a single server. Easy and performant microsite/blog hosting. Instant HTTPS with zero config certificate fetching, caching and renewing. No installation needed.

Source

Simple-Service-Discovery

An easy to use service discovery and health check tool, based upon endpoints defined in a config file.

Source

Drawing package

This is a simple Go package for drawing on a 2D surface. It includes primitives, PNG export, and some related higher-level constructs.

Source

inspect-a-go

Automated inspection of a struct instance’s properties and values, returning property lists, CSV or SQL. Also serves as examples of reflection and table-driven testing.

Source

simples-config

An extremely easy to use configuration loader that understands sections of settings in an ini style format.

Source

make-me-go

(DEPRECATED) Use go generate to automatically create Go source to recreate a folder tree of assets. This allows you to fully embed all your support files, templates, CSS or whatever within a project’s code.

Source