Skip to content
pietvPublic

About

Go packages indexer

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

40 Commits

Folders and files

Repository files navigation

gopaths GoDoc Build Status Build status

Go packages indexer. It searches for Go packages in GOROOT and GOPATH directories and then responds to shorter package paths with full paths. Useful together with 'cd' and 'godoc' commands.

Install

$ go get github.com/pietv/gopaths
$ go install github.com/pietv/gopaths

Usage

Service start:

$ gopaths -http=:6118 &

Search for a package:

$ curl :6118/imports/log
log
google.golang.org/appengine/internal/log
google.golang.org/appengine/log

Search for a directory containing the package:

$ curl :6118/dirs/rand
/Users/peter/go/src/crypto/rand
/Users/peter/go/src/math/rand

Update the index:

curl :6118/update

About

Go packages indexer

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages