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
Is your feature request related to a problem? Please describe.
I using golang-plugins for external behaviours and using internal abstractions of tusd (composer, store) then I would like configuring main tusd and my plugins via common var envs, but tusd use only flags.
Describe the solution you'd like
I propose to use env tags. For example:
Can you provide help with implementing this feature?
Yes. I can add envconfig tags (or an alternative lib) and rename the config abstraction from "flags" to config for use flags and envs together
The text was updated successfully, but these errors were encountered:
I am open to adding this as it seems useful in certain situations. We should probably just discuss which library to use for this. A quick search also revealed https://github.com/jnovack/flag, which is advertised as a drop-in replacement for Go's flag package. Since we currently use flag, this would mean minimal changes to our code. Do you have other recommendations?
Is your feature request related to a problem? Please describe.
I using golang-plugins for external behaviours and using internal abstractions of tusd (composer, store) then I would like configuring main tusd and my plugins via common var envs, but tusd use only flags.
Describe the solution you'd like
I propose to use env tags. For example:
Can you provide help with implementing this feature?
Yes. I can add envconfig tags (or an alternative lib) and rename the config abstraction from "flags" to config for use flags and envs together
The text was updated successfully, but these errors were encountered: