Help us shape the future of Go! Take the 2026 Go Developer Survey

codemap

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 23, 2026 License: MIT Imports: 16 Imported by: 0

Documentation

Overview

ENGMODEL-OWNER-UNIT: FU-CODEMAP-INFERENCE

ENGMODEL-OWNER-UNIT: FU-CODEMAP-INFERENCE

ENGMODEL-OWNER-UNIT: FU-CODEMAP-INFERENCE

ENGMODEL-OWNER-UNIT: FU-CODEMAP-INFERENCE

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommentLines added in v0.3.0

func CommentLines(path string, src []byte) (map[int]bool, error)

CommentLines returns parser-recognized comment locations, excluding strings. Python locations include only standalone comments, never a string prefix on the same line as an unrelated trailing comment. TRLC-LINKS: REQ-EMG-010

Types

type Symbol

type Symbol struct {
	TraceID    string
	PartOf     []string
	Implements []string
	ModelLinks []string
	Path       string
	Line       int
	Signature  string
}

ENGMODEL-LINKS: FU-CODEMAP-INFERENCE, CTRL-TRACEABILITY-COVERAGE, DEP-LOCAL-WORKSPACE

func Scan

func Scan(root string) ([]Symbol, []validate.Diagnostic, error)

ENGMODEL-LINKS: FU-CODEMAP-INFERENCE, CTRL-TRACEABILITY-COVERAGE, DEP-LOCAL-WORKSPACE TRLC-LINKS: REQ-EMG-010

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL