Documentation ¶
Index ¶
- Constants
- func CreateLocalGoPath(log *log.Logger, flags *GoPathFlags) error
- func Flatten(log *log.Logger, flags *FlattenFlags) error
- func Get(log *log.Logger, flags *GetFlags) error
- func GetVendorDir(dir string) (string, error)
- func Vendor(log *log.Logger, flags *VendorFlags) error
- type FlattenFlags
- type GetFlags
- type GoPathFlags
- type VendorFlags
Constants ¶
View Source
const (
DefaultVendorDir = "vendor"
)
Variables ¶
This section is empty.
Functions ¶
func CreateLocalGoPath ¶
func CreateLocalGoPath(log *log.Logger, flags *GoPathFlags) error
CreateLocalGoPath creates a local .gobuild folder with a GOPATH folder structure in it.
func Flatten ¶
func Flatten(log *log.Logger, flags *FlattenFlags) error
Flatten copies all directories found in the given vendor directory to the GOPATH and flattens all vendor directories found in the GOPATH.
func GetVendorDir ¶
Types ¶
type FlattenFlags ¶
type GoPathFlags ¶
type GoPathFlags struct {
Package string // If set, use this package instead of the origin URL from the local repo
}
type VendorFlags ¶
Click to show internal directories.
Click to hide internal directories.