import "github.com/WillAbides/godoc2md"
Package godoc2md creates a markdown representation of a package's godoc.
This is forked from https://github.com/davecheney/godoc2md. The primary difference being that this version is a library that can be used by other packages.
commandline.go comment.go godoc2md.go template.go
func Godoc2md(args []string, out io.Writer, config *Config)
Godoc2md turns your godoc into markdown
type Config struct {
AltPkgTemplate string
SrcLinkHashFormat string
SrcLinkFormat string
Goroot string
TabWidth int
ShowTimestamps bool
ShowPlayground bool
ShowExamples bool
DeclLinks bool
Verbose bool
}
Config contains config options for Godoc2md