Help us shape the future of Go! Take the 2026 Go Developer Survey

parser

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExtractImports

func ExtractImports(schemaFilePaths []string) (map[string]ImportInfo, error)

func FilterValidateImports

func FilterValidateImports(allImports map[string]ImportInfo) map[string]ImportInfo

func ParseEntities

func ParseEntities(discoveredEntities []DiscoveredEntity) ([]schema.Entity, error)

Types

type DiscoveredEntity

type DiscoveredEntity struct {
	Name string
	Path string
}

func DiscoverEntities

func DiscoverEntities(entityDir string) ([]DiscoveredEntity, error)

type ImportInfo

type ImportInfo struct {
	Name       string // package name or alias
	Path       string // import path
	SchemaPath string // schema file where this import was found
}

Jump to

Keyboard shortcuts

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