Skip to content
go doc with colors
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
samples add: more samples Aug 22, 2019
.gitignore add: gitignore Jan 27, 2019
LICENSE add: license Jan 27, 2019 update: readme commands Aug 22, 2019
go.mod fix: coloring on windows Feb 13, 2019
go.sum fix: coloring on windows Feb 13, 2019
main.go refactor: small adjustments Sep 5, 2019


Like go doc but with colors.


$ go get -u


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


$ godocc io Writer

godocc sample 1

$ godocc ioutil

godocc sample 2


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.

You can’t perform that action at this time.