mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-02-18 15:13:32 -05:00
12 lines
212 B
Go
12 lines
212 B
Go
package config
|
|
|
|
// Option configures an assets option.
|
|
type Option func(*config)
|
|
|
|
// WithConfig returns an option to set config.
|
|
func WithConfig(val string) Option {
|
|
return func(c *config) {
|
|
c.file = val
|
|
}
|
|
}
|