Usage
Usage:
gofind [OPTIONS] QUERY...
Application Options:
-s, --symbol Search for symbol instead of package
-l, --limit= Number of search result items limit (default: 20)
-V, --version Show version
-j, --json Output in JSON format
Help Options:
-h, --help Show this help message
Simply specify the keywords in the arguments e.g. package name (template
), symbol name (io.Reader
), multiple keywords (json OR yaml
) etc.
To see examples of keywords to search for, check search-help on pkg.go.dev.
It can be output the result in JSON format by specifying the -j
, --json
option.
By default, it searches for packages, but you can also search for symbols with the -s
, --symbol
option.
When you select an element, the name of the package is output. You can also output the URL by specify the -u
, --url
option.
Installation
You can download the executable binaries from the latest page.
To build from source, clone or download this repository then run go install
, or run below:
go install github.com/sheepla/gofind@latest
Developing on go1.18.3 linux/amd64
.
License
MIT
Author
Sheepla