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
// configBase64 must be compiled with ldflags,// read config from env if this is not setvarconfigBase64stringfuncmain() {
// ConfigifconfigBase64!="" {
err:=config.SetEnvBase64(configBase64)
iferr!=nil {
log.Error().Stack().Err(err).Msg("")
returnos.Exit(1)
}
}
conf:=config.New()
// ...
}
TODO Option to lock base64 values only, even if empty, i.e. don't read from env?
The text was updated successfully, but these errors were encountered:
Create an example of using a base64 string, e.g.
TODO Option to lock base64 values only, even if empty, i.e. don't read from env?
The text was updated successfully, but these errors were encountered: