Skip to content

siadat/chrome-godoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Godoc finder for Chrome omnibox

Using chrome-godoc

Usage

In the addressbar (omnibox) type:

go PACKAGE [FUNC|TYPE]
go PACKAGE#[FUNC|TYPE]
go #[FUNC|TYPE]
go !

Example

go http
go httpu newconn
go httpu#newconn
go #newconn
go !

The extension first tries to fetch the docs from http://localhost:6060. If that fails, it will try https://tip.golang.org.

Recommended start your own local Go doc server (godoc -http=:6060) and clear the extension cache by entering go ! in the omnibox.

Tips

Clear the cache enter go ! and press Enter.

Select the first match press Enter without pressing down.

Avoid retyping the name of the last package start query with # e.g. go #new

Contributing

License

This extension is released under the MIT License.