github.com/annwntech/go-micro/v2@v2.9.5/runtime/local/build/options.go (about) 1 package build 2 3 type Options struct { 4 // local path to download source 5 Path string 6 } 7 8 type Option func(o *Options) 9 10 // Local path for repository 11 func Path(p string) Option { 12 return func(o *Options) { 13 o.Path = p 14 } 15 }