verdeps

package
v0.2.7-alpha Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2016 License: Apache-2.0 Imports: 17 Imported by: 0

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(...).

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL