novendor

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2018 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(projectDir string, pkgs []string, param Param, w io.Writer) error

Types

type Config

type Config struct {
	PkgRegexps                []string `json:"pkgRegexps"`
	IncludeVendorInImportPath bool     `json:"includeVendorInImportPath"`
	IgnorePkgs                []string `json:"ignorePkgs"`
}

func (*Config) ToParam

func (c *Config) ToParam() (Param, error)

type Param

type Param struct {
	PkgRegexps                []*regexp.Regexp
	IncludeVendorInImportPath bool
	IgnorePkgs                []string
}

Jump to

Keyboard shortcuts

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