micro/runtime/local/build/options.go

16 lines
220 B
Go
Raw Normal View History

2019-11-19 19:09:43 +03:00
package build
2019-05-31 02:26:34 +03:00
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
}
}