1
0
mirror of https://github.com/go-micro/go-micro.git synced 2025-01-23 17:53:05 +02:00

16 lines
222 B
Go
Raw Normal View History

2019-05-31 00:26:34 +01:00
package source
type Options struct {
// local path to download source
Path string
}
type Option func(o *Options)
2022-09-30 16:27:07 +02:00
// Local path for repository.
2019-05-31 00:26:34 +01:00
func Path(p string) Option {
return func(o *Options) {
o.Path = p
}
}