mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-05 10:20:53 +02:00
16 lines
223 B
Go
16 lines
223 B
Go
|
package packager
|
||
|
|
||
|
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
|
||
|
}
|
||
|
}
|