Files
opencloud/vendor/go-micro.dev/v4/runtime/local/source/options.go
2023-04-19 20:24:34 +02:00

16 lines
221 B
Go

package source
type Options struct {
// local path to download source
Path string
}
type Option func(o *Options)
// Local path for repository
func Path(p string) Option {
return func(o *Options) {
o.Path = p
}
}