gii

command module
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: 4 Imported by: 0

README

gii

MIT License Build Status Code Climate Release Japanese

Set repositories which doesn't belong golang project to .goimportsignore.

When you employ go-style directory tree^1 to maintain all projects even if such projects are not written in golang, your $GOPATH/src has too many repositories and it makes goimports slower. gii lists up repositories which doesn't belong to golang projects from your $GOPATH/src and writes them to .goimportsignore, so that goimports doesn't search such repositories.

Usage

Run just gii if $GOPATH is set. If you want to use another root path, use --gopath flag.

gii appends paths of repositories which doesn't belong to golang projects, and aren't appeared $GOPAH/.goimportsignore already. To delete added paths, please edit $GOPAH/.goimportsignore manually.

Here is the help text of gii:

gii [global options]

GLOBAL OPTIONS:
   --gopath GOPATH  GOPATH [$GOPATH]
   --help, -h       show help
   --version, -v    print the version

Installation

$ go get github.com/jkawamoto/gii

or if you're Homebrew user,

$ brew tap jkawamoto/gii
$ brew install gii

Compiled binaries are also available in Github's release page.

License

This software is released under the MIT License, see LICENSE.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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