Go Tidbit: Update Checker with GitHub Releases

from blog Blog on hjr265.me, | ↗ original
After building Printd, Toph’s print daemon, it became necessary to ensure that contest organizers were using the latest version of the software. Since Printd is open-source we host both the code and the release artifacts on GitHub. The following function uses the Go client library for GitHub to check the latest release and compare the tag with...