You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 8, 2023. It is now read-only.
I found this tool from awesome-go and liked as it has the pre_build, post_build hooks. I couldn't figure out how to inject some build vars or update existing ones. It'd appreciated if you add a pre_build_example.go to inject some build parameters.
Looked at the code but not sure how it works...
By the time you call the preHook all set(everything read into memory) for the build. Not sure, how to inject build params/variables.
I found this tool from awesome-go and liked as it has the pre_build, post_build hooks. I couldn't figure out how to inject some build vars or update existing ones. It'd appreciated if you add a
pre_build_example.go
to inject some build parameters.Looked at the code but not sure how it works...
By the time you call the
preHook
all set(everything read into memory) for the build. Not sure, how to inject build params/variables.-- snip from ./internal/builder/builder.go ---
pre_build_example.go
for below would be nice:-X flag
to--ldflag
?.xyz
suffix?The text was updated successfully, but these errors were encountered: