filters

package
v0.0.0-...-f68c5c2 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package filters provides filters for Go package import paths.

Index

Constants

This section is empty.

Variables

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

ExceptionList is a list of exception packages to skip.

Functions

func Duplicates

func Duplicates(pkgs []string) []string

Duplicates filters out any duplicate packages.

func Ellipses

func Ellipses(pkgs []string) []string

Ellipses trims the ellipses suffix off of package import paths.

func Exceptions

func Exceptions(pkgs []string) []string

Exceptions filters out very special exceptional packages.

func Godeps

func Godeps(pkgs []string) []string

Godeps filters out Godeps package import paths.

func Local

func Local(pkgs []string) []string

Local filters out any local packages.

func Match

func Match(path1, path2 string) bool

Match determines if two package paths match.

func Standard

func Standard(pkgs []string) []string

Standard filters out standard packages.

Types

This section is empty.

Jump to

Keyboard shortcuts

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