Skip to content

paulsamways/gopkgsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web application for searching the packages in $GOROOT/src/pkg and $GOPATH.

Prerequisites

Gopkgsearch requires that the Go source code is available on the machine and that the GOROOT environment variable has been set.

See http://golang.org/doc/install/source#environment

Installation

Gopkgsearch can be fetched using 'go get':

go get github.com/paulsamways/gopkgsearch

Usage

Starting the server

When GoPkgSearch is launched without any parameters, the Go stdlib source files will indexed and the web application started.

Indexing of the source files in the GOPATH directories can be enabled by using the '-useGoPath' option.

./gopkgsearch [-usegopath=true]

Using the client

After the GoPkgSearch server has finished indexing the source files and the web server has been started, open up a browser and navigate to the web application, by default http://localhost:8000.

Modes:

join Find all types or methods that contain the word 'join'.

utf8.rune Searching only in the utf8 package, find all types of methods that contain the word 'rune'.

http.request.form Searching only in the http.Request type, find all methods that contain the word 'form'.

Screenshot

Screenshot of Gopkgsearch

About

Instant package searching

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published