Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VersionDeps ¶
func VersionDeps(args VersionDepsArgs) error
VersionDeps version locks all of the Github-based Go dependencies referenced in the source code of a package. It takes a variety of package metadata and the path to the source code, and changes its dependencies accordingly.
Types ¶
type VersionDepsArgs ¶
type VersionDepsArgs struct { // SHA is the sha of the package being versioned. SHA string // SHA is the path to the package source code to be versioned. Path string // Date is date that the version of the package with that matches SHA was created. Date time.Time // Model is the package model of the package. Model *models.PackageModel // GithubServcie is the service, with which, requests can be made of the Github API. GithubService *github.RequestService }
VersionDepsArgs is the arguments struct for VersionDeps(...).
Click to show internal directories.
Click to hide internal directories.