project

package
v0.6.6 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package project loads parsed Go packages for the main module (go list ./...).

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadPackages

func LoadPackages(fset *token.FileSet, rootDir string) (map[string]*ast.Package, error)

LoadPackages runs `go list -f '{{.Dir}}' ./...` from rootDir and parses all non-test .go files in those directories into ast.Package map keyed by package name (same merge semantics as before).

Types

This section is empty.

Jump to

Keyboard shortcuts

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