Go tools catalog
Switch branches/tags
Nothing to show
Clone or download
Latest commit a1c582e Nov 8, 2018
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci enable circleci Oct 26, 2017
goenv update can't clear durty (old) flags Oct 16, 2017
gtcore grpc-gateway tools Nov 8, 2018
.gitignore remove old catalog file Nov 30, 2017
LICENSE minimum doc Jun 11, 2017
README.md fix typo Dec 9, 2017
go.mod go module Nov 8, 2018
go.sum go module Nov 8, 2018
main.go fix for merge. Dec 2, 2017


Go Tool Catalog

Gtc installs and updates well known tools written by golang.

Install gtc

$ go get -u github.com/koron/gtc


# List tools installed
$ go list

# List tools not-installed
$ go list -filter notinstalled

# List tools unknown (for gtc)
$ go list -filter unknown

# Install a tool
$ go install jvgrep

# Install multiple tools
$ go install goimports golint jvgrep

# Update a tool
$ go update jvgrep

# Update multiple tools
$ go update goimports golint jvgrep

# Update all tools which has been installed and not touched over 5 days
$ go update -all

Customize with your own catalog

Create a new repository github.com/{YOURNAME}/mygtc with main.go like this:

package main

import (


func main() {
	err := gtcore.DefaultCatalog.Merge([]gtcore.Tool{
			Path: "github.com/{YOURNAME}/mygtc",
			Desc: "My own go tools catalog",
		// FIXME: add your favorite tools at here!
	if err != nil {

And push it to github, then install it:

$ go get -u github.com/{YOURNAME}/mygtc

Now you can run mygtc instead of gtc.

Customize with JSON

To load your own catalog from a file, prepare a JSON file like below. And set its filename to GTC_CATALOG_FILE environment variable. It will be merged with the default catalog. But tools in the default catalog overrides same name tools in your catalog.

If you consider to manage your own catalog with git, you should manage it in golang - main.go instead of JSON. It can override the default catalog entirely.

    "path": "github.com/foo/foo",
    "desc": "your favorite foo"
    "path": "github.com/foo/bar",
    "desc": "your favorite bar"
  ...(other your favorite tools)...