govend: github.com/govend/govend/imports/filters Index | Files

package filters

import "github.com/govend/govend/imports/filters"

Package filters provides filters for Go package import paths.

Index

Package Files

exceptions.go filters.go match.go stdpkgs.go

Variables

var ExceptionList = []string{
    "appengine",
    "appengine/*",
    "appengine_internal",
    "appengine_internal/*",
}

ExceptionList is a list of exception packages to skip.

func Duplicates Uses

func Duplicates(pkgs []string) []string

Duplicates filters out any duplicate packages.

func Ellipses Uses

func Ellipses(pkgs []string) []string

Ellipses trims the ellipses suffix off of package import paths.

func Exceptions Uses

func Exceptions(pkgs []string) []string

Exceptions filters out very special exceptional packages.

func Godeps Uses

func Godeps(pkgs []string) []string

Godeps filters out Godeps package import paths.

func Local Uses

func Local(pkgs []string) []string

Local filters out any local packages.

func Match Uses

func Match(path1, path2 string) bool

Match determines if two package paths match.

func Standard Uses

func Standard(pkgs []string) []string

Standard filters out standard packages.

Package filters imports 6 packages (graph) and is imported by 23 packages. Updated 2016-09-23. Refresh now. Tools for package owners.