SetEnvNamePrefixForTesting sets the name prefix to be used for all environment variable names for testing.
(prefix string)
| 345 | |
| 346 | // SetEnvNamePrefixForTesting sets the name prefix to be used for all environment variable names for testing. |
| 347 | func (c *App) SetEnvNamePrefixForTesting(prefix string) { |
| 348 | c.envNamePrefix = prefix |
| 349 | } |
| 350 | |
| 351 | // EnvName overrides the provided environment variable name for testability. |
| 352 | func (c *App) EnvName(n string) string { |