schema

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FuncEdge

type FuncEdge struct {
	ent.Schema
}

生成ent对象,不使用外键关联

func (FuncEdge) Edges

func (FuncEdge) Edges() []ent.Edge

func (FuncEdge) Fields

func (FuncEdge) Fields() []ent.Field

func (FuncEdge) Indexes

func (FuncEdge) Indexes() []ent.Index

type FuncNode

type FuncNode struct {
	ent.Schema
}

FuncNode holds the schema definition for the FuncNode entity.

func (FuncNode) Edges

func (FuncNode) Edges() []ent.Edge

Edges of the FuncNode.

func (FuncNode) Fields

func (FuncNode) Fields() []ent.Field

Fields of the FuncNode.

func (FuncNode) Indexes

func (FuncNode) Indexes() []ent.Index

Indexes of the FuncNode.

type PackageDep added in v1.2.1

type PackageDep struct {
	ent.Schema
}

PackageDep 包依赖关系表 - 简化设计

func (PackageDep) Edges added in v1.2.1

func (PackageDep) Edges() []ent.Edge

Edges of the PackageDep.

func (PackageDep) Fields added in v1.2.1

func (PackageDep) Fields() []ent.Field

Fields of the PackageDep.

func (PackageDep) Indexes added in v1.2.1

func (PackageDep) Indexes() []ent.Index

Indexes of the PackageDep.

type Pkg added in v1.2.1

type Pkg struct {
	ent.Schema
}

Pkg 包信息表 - 简化设计

func (Pkg) Edges added in v1.2.1

func (Pkg) Edges() []ent.Edge

Edges of the Pkg.

func (Pkg) Fields added in v1.2.1

func (Pkg) Fields() []ent.Field

Fields of the Pkg.

func (Pkg) Indexes added in v1.2.1

func (Pkg) Indexes() []ent.Index

Indexes of the Pkg.

Jump to

Keyboard shortcuts

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