glide

package
v2.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2019 License: GPL-3.0 Imports: 3 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 {
	Package string
	Imports []Import
}

Glide represents the glide configuration.

func LoadGlide

func LoadGlide(projectRoot string) (*Glide, error)

LoadGlide tries to load glide.lock and glide.yaml and extract import information. In case no glide.lock is present, it will use the import information from glide.yaml.

type Import

type Import struct {
	Name    string `json:"name"`
	Version string `json:"version"`
	Repo    string `json:"repo"`
}

Import represents an imported package.

Jump to

Keyboard shortcuts

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