Skip to content

pietv/gopaths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages