parser

package
v1.3.0 Latest Latest
Warning

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

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

Documentation

Overview

Package parser extracts entity and field metadata from Go source files by inspecting struct declarations and their struct tags. It uses go/ast and go/parser to walk the AST, then builds a model.Package for the generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(pkgDir string) (*model.Package, error)

Parse loads all Go source files in the directory at pkgDir, extracts exported structs, and returns a model.Package with fully resolved entities and fields.

Types

This section is empty.

Jump to

Keyboard shortcuts

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