glide

package
v0.0.0-...-d69f115 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2021 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Glide

type Glide struct {
	Hash        string        `json:"hash"`
	Updated     string        `json:"updated"`
	Imports     []GlideImport `json:"imports"`
	TestImports []GlideImport `json:"testImports"`
	// contains filtered or unexported fields
}

func GlideFromFile

func GlideFromFile(file string) (*Glide, error)

func (*Glide) Commit

func (g *Glide) Commit(pkg string) (string, error)

func (*Glide) MainPackageCommit

func (g *Glide) MainPackageCommit(pkg string, commit string)

type GlideImport

type GlideImport struct {
	Name        string   `json:"name"`
	Version     string   `json:"version"`
	Subpackages []string `json:"subpackages"`
}

Jump to

Keyboard shortcuts

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