Skip to content

VoxelPrismatic/godoc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

go doc with colors

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 74.7%
  • Tree-sitter Query 25.3%