mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-28 16:01:18 -05:00
16 lines
221 B
Go
16 lines
221 B
Go
package source
|
|
|
|
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
|
|
}
|
|
}
|