Go notes

Watched a bit of a presentation on how Go made the chezmoi app possible:

image

Statically linked binary, embedded run-time, no dependencies, easy to build for a huge array of machines … sounds familiar.

Instead of relying on external tools like Git, tar, etc, go has many package equivalents:

image

The author also suggests that if you make a command line tool, also make it available as a library, so other apps can embed it. Again, sounds familiar.

1 Like