annot

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {
	Funcs s2aModels.Functions
	// contains filtered or unexported fields
}

Parser is a swag annotations parser.

Uses the swag.Parser to parse the annotations.

func NewAnnotParser

func NewAnnotParser() *Parser

NewAnnotParser returns a new swag annotations parser.

func (*Parser) Parse

func (p *Parser) Parse(pkgPath, mainFile string) error

Parse runs parsing.

Runs the swag.Parser and uses its results to obtain information about functions.

Jump to

Keyboard shortcuts

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