package
Version:
v0.41.0
Opens a new window with list of versions in this module.
Published: Aug 5, 2026
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EntityRef struct {
Pkg string `json:"pkg,omitempty"`
Name string `json:"name,omitempty"`
Meta Meta `json:"meta"`
}
EntityRef is a reference to an entity in the source code
type Location struct {
ModRef ModuleRef `json:"module"`
Package string `json:"package,omitempty"`
Filename string `json:"filename,omitempty"`
}
type Meta struct {
Location Location `json:"location"`
Text string `json:"text,omitempty"`
Start Position `json:"start"`
Stop Position `json:"stop"`
}
type ModuleRef struct {
Path string `json:"path,omitempty"`
Version string `json:"version,omitempty"`
}
type Position struct {
Line int `json:"line,omitempty"`
Column int `json:"column,omitempty"`
}
Position contains line and column numbers
Source Files
¶
Click to show internal directories.
Click to hide internal directories.