Documentation ¶
Overview ¶
Package source defines interfaces for generating URL links in documentation.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkOptions ¶
type LinkOptions struct {
Line int
}
LinkOptions contains options for configuring hyperlinks to source files
type Linker ¶
type Linker interface {
LinkToSource(packagePath string, options LinkOptions) url.URL
}
Linker can generate hyperlinks for any given package's file
type ScrapeChecker ¶
ScrapeChecker returns whether or not a given package's path should be scraped and included in the output
Click to show internal directories.
Click to hide internal directories.