WithConfig sets the configuration instance used by the service. Parameters: - cfg: The application configuration Returns: - *Builder: The builder instance for method chaining
(cfg *config.Config)
| 90 | // Returns: |
| 91 | // - *Builder: The builder instance for method chaining |
| 92 | func (b *Builder) WithConfig(cfg *config.Config) *Builder { |
| 93 | b.cfg = cfg |
| 94 | return b |
| 95 | } |
| 96 | |
| 97 | // WithConfigPath sets the absolute configuration file path used for reload watching. |
| 98 | // |
no outgoing calls