Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TrimPrefix ¶
TrimPrefix trims everything up to the first /src/ as a heuristic for limiting the file to the go import path. This is a very simple heuristic that will break if the GOPATH exists in a directory with /src/ in the path (e.g. ~/src/go/src/github...), but is considered best-effort.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.