WithOrgID is a function that returns an Option, which sets the orgID field of the config struct.
(val string)
| 47 | |
| 48 | // WithOrgID is a function that returns an Option, which sets the orgID field of the config struct. |
| 49 | func WithOrgID(val string) Option { |
| 50 | return optionFunc(func(c *config) { |
| 51 | c.orgID = val |
| 52 | }) |
| 53 | } |
| 54 | |
| 55 | // WithModel is a function that returns an Option, which sets the model field of the config struct. |
| 56 | func WithModel(val string) Option { |
no test coverage detected