analyzer

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectAnalyzer

type ProjectAnalyzer struct {
	// contains filtered or unexported fields
}

ProjectAnalyzer analyzes Go-Bricks projects to extract module and route information

func New

func New(projectRoot string) *ProjectAnalyzer

New creates a new project analyzer

func (*ProjectAnalyzer) AnalyzeProject

func (a *ProjectAnalyzer) AnalyzeProject() (*models.Project, error)

AnalyzeProject discovers modules and routes from a go-bricks project

func (*ProjectAnalyzer) Warnings

func (a *ProjectAnalyzer) Warnings(_ context.Context) []string

Warnings returns a copy of the non-fatal diagnostics collected during the last analysis. ctx is accepted per the repo's context-first convention for exported APIs; the returned slice is cloned so callers cannot mutate analyzer state.

Jump to

Keyboard shortcuts

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