View definition

(Presentation).URLForSrcPos

Defined in github.com/golang/tools/godoc/pres.go

Description

URLForSrcPos optionally specifies a function to create a URL given a source file, a line from the source file (1-based), and low & high offset positions (0-based, bytes from beginning of file). Ideally, the returned URL will be for the specified line of the file, while the high & low positions will be used to highlight a section of the file. The source file argument has the form /src/<path>/<filename>.

URLForSrcPos is referenced in 1 repository

github.com/golang/tools