command

package
v0.1.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const GoImportsIgnore = ".goimportsignore"

GoImportsIgnore defines the file name of .goimportsignore.

Variables

This section is empty.

Functions

func CmdRun

func CmdRun(c *cli.Context) error

CmdRun parses options and run cmdRun.

func LoadIgnoredPaths

func LoadIgnoredPaths(path string) (res map[string]interface{}, err error)

LoadIgnoredPaths reads a .goimportsignore file and returns a set of paths included in that file.

func SearchParallel

func SearchParallel(input <-chan string, output chan<- string, done chan<- interface{})

SearchParallel is a go-routine searching repositories which doesn't belong to golang project. It reads search roots from input channel, and write found reporitories to output channel. After putting all search roots to input, users must close the input channel. When all search finish, the notification will be put in done channel.

Types

This section is empty.

Jump to

Keyboard shortcuts

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