Go Class: 41 Building Go Programs

Поділитися
Вставка
  • Опубліковано 10 лют 2025
  • In this section I'll discuss how to use go build, particularly to make a "pure" Go program; how to version your executable; some things about project layout and Makefiles; and how to build in Docker.
    I have a complete demo on building & publishing a container and then running it on another machine, so you get a Docker lesson for free :-)
    UPDATE: use `git describe --tags --long --dirty --always` to get at least a hash when there's no tag.
    Slides at: github.com/mat...
    Code at: github.com/mat...

КОМЕНТАРІ • 6