Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

golang compile with injected variable

go build -ldflags "-X main.InternalVarName=$BASH_VAR_NAME"
 
PREVIOUS NEXT
Tagged: #golang #compile #injected #variable
ADD COMMENT
Topic
Name
4+4 =