Closed sporkmonger closed 5 years ago
Go's compiler has a built-in capability to inject values into variables at compile time. This replaces the template.go file and just names it agent.go, injecting the tokens, keys, etc directly without making changes to the file.
template.go
agent.go
Awesome, thanks. Will try to test this tomorrow.
Go's compiler has a built-in capability to inject values into variables at compile time. This replaces the
template.go
file and just names itagent.go
, injecting the tokens, keys, etc directly without making changes to the file.