WithConfigPath Set the path of the config file.
(p string)
| 29 | |
| 30 | // WithConfigPath Set the path of the config file. |
| 31 | func WithConfigPath(p string) Option { |
| 32 | return optionFunc(func(o *dependency) { |
| 33 | o.configPath = p |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | // WithLogger Set the default logging. |
| 38 | func WithLogger(l logging.Logger) Option { |
no test coverage detected