ent

package
v0.0.0-...-582fc84 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Columns

type Columns map[string]*ent_load.Field

type Generator

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

func NewGenerator

func NewGenerator(workDir string) (*Generator, error)

func (*Generator) Generate

func (g *Generator) Generate(structInfos []*load.StructInfo, data map[string]any) ([]*gen.File, error)

func (*Generator) PackageInfo

func (g *Generator) PackageInfo() *gen.PackageInfo

type Tables

type Tables map[string]Columns

Jump to

Keyboard shortcuts

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