func goPackagesErrorDiagnostics(ctx context.Context, e packages.Error, mp *metadata.Package, fs file.Source) ([]*Diagnostic, error) { … }
func parseErrorDiagnostics(pkg *syntaxPackage, errList scanner.ErrorList) ([]*Diagnostic, error) { … }
var importErrorRe …
var unsupportedFeatureRe …
func goGetQuickFixes(haveModule bool, uri protocol.DocumentURI, pkg string) []SuggestedFix { … }
func editGoDirectiveQuickFix(haveModule bool, uri protocol.DocumentURI, version string) []SuggestedFix { … }
func encodeDiagnostics(srcDiags []*Diagnostic) []byte { … }
func decodeDiagnostics(data []byte) []*Diagnostic { … }
func toSourceDiagnostic(srcAnalyzer *settings.Analyzer, gobDiag *gobDiagnostic) *Diagnostic { … }
func onlyDeletions(fixes []SuggestedFix) bool { … }
func typesCodeHref(linkTarget string, code typesinternal.ErrorCode) string { … }
func BuildLink(target, path, anchor string) protocol.URI { … }
func parseGoListError(e packages.Error, dir string) (filename string, line, col8 int) { … }
func splitFileLineCol(s string) (file string, line, col8 int) { … }
func parseGoListImportCycleError(ctx context.Context, e packages.Error, mp *metadata.Package, fs file.Source) (*Diagnostic, error) { … }
func parseGoURI(ctx context.Context, fs file.Source, uri protocol.DocumentURI, mode parser.Mode) (*parsego.File, error) { … }
func parseModURI(ctx context.Context, fs file.Source, uri protocol.DocumentURI) (*ParsedModule, error) { … }