Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dep ¶
type Dep struct { Path string Version string Error string Info string GoMod string Zip string Dir string Sum string GoModSum string }
Dep represents parsed dependency json data.
func ParseDownloadJSON ¶
ParseDownloadJSON parses the dependency file into a data structure.
type GoMod ¶
type GoMod struct { Module Module Go string Require []Require Exclude []Module Replace []Replace Retract []Retract }
GoMod represents parsed module json data.
func ParseModJSON ¶
ParseModJSON parses the mode file into a data structure.
type VendorDir ¶
type VendorDir struct {
// contains filtered or unexported fields
}
VendorDir represents a vendor directory.
func InitVendorDir ¶
InitVendorDir creates a new vendor directory.
func (*VendorDir) CopyDependencies ¶
func (v *VendorDir) CopyDependencies()
CopyDependencies copies remote module level dependencies transitively.
Click to show internal directories.
Click to hide internal directories.