Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Shell/Bash
golang compile with injected variable
Snehal Raj
Programming language:
Shell/Bash
2021-07-03 08:42:22
0
Q:
golang compile with injected variable
Davy M
Code:
Shell/Bash
2021-03-09 02:15:30
go build -ldflags "-X main.InternalVarName=$BASH_VAR_NAME"
0
Tags
variable
var
Related
grep to variable
shell set environment variable
New to Communities?
Join the community