parser

package
v0.0.0-...-d63d437 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Field

type Field struct {
	Name      string
	Type      string
	Column    string
	IsPrimary bool
}

type Model

type Model struct {
	Name       string
	Fields     []Field
	TableName  string
	PrimaryKey string
	Package    string
	ImportPath string
}

func ParseModels

func ParseModels(inputPath string) ([]Model, error)

Jump to

Keyboard shortcuts

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