Add runtime => run

This commit is contained in:
Asim Aslam
2019-05-31 00:26:34 +01:00
parent a353c83f47
commit c567d1ceb3
13 changed files with 592 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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
}
}