Skip to content
Demo of setting variables in go at build time
Go Makefile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd/goversion
pkg/version
Makefile
README.md

README.md

This is a demo of how to populate variables at build time in a go program

make build ./main

You can’t perform that action at this time.