Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
zalmoxes
on July 1, 2015
|
parent
|
context
|
favorite
| on:
Setting Go variables from the outside
You can use ldflags with go get
go get -u -ldflags "-X main.Version foo" github.com/influxdb/telegraf/cmd/telegraf
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
go get -u -ldflags "-X main.Version foo" github.com/influxdb/telegraf/cmd/telegraf