analyzer

package
v0.0.0-...-a93af15 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DetectFramework

func DetectFramework(projectPath string) string

DetectFramework scans the project (e.g. go.mod) and returns the framework identifier: "gin", "echo", "fiber", "gorilla", "chi", or "" if unknown. Useful for init so the config file can be pre-filled.

Types

type Analyzer

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

Analyzer analyzes the codebase to extract API information

func NewAnalyzer

func NewAnalyzer(cfg *config.Config) *Analyzer

NewAnalyzer creates a new Analyzer

func (*Analyzer) Analyze

func (a *Analyzer) Analyze() (*models.APISpec, error)

Analyze scans the codebase and extracts API information

Jump to

Keyboard shortcuts

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