Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fix ¶
type Fix struct { Link Severity severity.Severity `json:"severity"` Reason string `json:"reason"` Suggestion string `json:"suggestion"` }
Fix represents fix for given link that is shown/suggested to the user.
type Link ¶
type Link struct { Path string `json:"file"` Line int `json:"line"` Index int `json:"index"` URL *url.URL `json:"url"` }
Link is single link found in a file. This structure holds more information about the link so that it can be later found, fixed/replaced and otherwise adjusted based on the users preferences.
Click to show internal directories.
Click to hide internal directories.