mirror of
https://github.com/dockersrc/go
synced 2026-06-24 14:01:08 -04:00
f910225d3b
- rootfs/usr/local/bin/go-workflow: replace GO_PROD=1 check with MODE resolution; MODE=prod|production enables -trimpath -ldflags=-s -w on go build; MODE=dev|devel|development is the explicit development path; GO_PROD=1 remains a legacy alias when MODE is unset; unknown MODE values warn to stderr and default to development; print active mode on every run - README.md: add GOWORKDIR, GOOS, GOARCH, MODE, GO_PROD to env vars table - README.md: update production mode section to use MODE=prod; note GO_PROD as legacy alias README.md rootfs/usr/local/bin/go-workflow