conf

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Import

type Import struct {
	Package string `yaml:"package,omitempty"`
	Version string `yaml:"version,omitempty"`
	Repo    string `yaml:"repo,omitempty"`
}

type Trash

type Trash struct {
	Package string   `yaml:"package,omitempty"`
	Imports []Import `yaml:"import,omitempty"`
	// contains filtered or unexported fields
}

func Parse

func Parse(path string) (*Trash, error)

func (*Trash) Dedupe added in v0.2.2

func (t *Trash) Dedupe()

Dedupe deletes duplicates and sorts the imports

func (*Trash) Dump added in v0.2.2

func (t *Trash) Dump(path string) error

func (*Trash) Get added in v0.2.2

func (t *Trash) Get(pkg string) (Import, bool)

Jump to

Keyboard shortcuts

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