Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 866 Bytes

File metadata and controls

45 lines (29 loc) · 866 Bytes

godoc

Like go doc but with colors.

Installation

$ go install github.com/VoxelPrismatic/godoc@latest

Usage

Accepts all the arguments and flags go doc works with. Godoc is just a simple wrapper around the go doc tool.

Example:

$ godoc io.Writer

godoc sample 1

$ godoc os.WriteFile

godoc sample 2

$ godoc github.com/tree-sitter/go-tree-sitter.CaptureQuantifierZero

godoc sample 3

$ godoc fs.FileInfo

godoc sample 4

Styling

Unlike other forks of godocc, this uses TreeSitter for the sole purpose of using your terminal's highlighting. Absolutely no color or styling customization is provided in the command line; just your standard ANSI colors.