Skip to content

inancgumus/godocc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

godocc

Like go doc but with colors.

Installation

$ go install github.com/inancgumus/godocc@latest

Usage

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

Example:

$ godocc io Writer

godocc sample 1

$ godocc ioutil

godocc sample 2

Styling

godocc comes with many colors! Configure the color of the output by setting the following env variable:

$ GODOCC_STYLE="dracula"

My favorite styles: dracula, monokai, fruity, native, paraiso-dark, pygments, rainbow_dash, rrt, solarized-dark, swapoff, vim.

Other styles: abap, algol, arduino, autumn, borland, bw, colorful, emacs, friendly, github, igor, lovelace, manni, monokailight, murphy, paraiso-light, pastie, perldoc, solarized-light256, solarized-light, tango, trac, vs, xcode.

NOTE: Godocc uses the awesome Chroma package underneath.

About

go doc with colors

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages