types

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Column

type Column struct {
	Name      string
	FieldName string
	Type      ast.Expr
}

type JoinedTable

type JoinedTable struct {
	Tables          []*Table
	RefTables       []*RefTable
	RefJoinedTables []*RefJoinedTable
}

type Method

type Method struct {
	Type MethodType
	Decl *ast.FuncDecl
}

type MethodType

type MethodType int8
const (
	MethodTypeIdentifier MethodType = iota + 1
	MethodTypeStar
)

type RefJoinedTable

type RefJoinedTable struct {
	Table       *JoinedTable
	JoinedTable *JoinedTable
}

type RefTable

type RefTable struct {
	Table       *Table
	JoinedTable *JoinedTable
}

type Table

type Table struct {
	StructName      string
	Columns         []*Column
	Methods         []*Method
	RefTables       []*RefTable
	RefJoinedTables []*RefJoinedTable
}

Jump to

Keyboard shortcuts

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