micro/runtime/build/options.go
2019-11-19 16:09:43 +00:00

16 lines
220 B
Go

package build
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
}
}