iface

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 27, 2025 License: MulanPSL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IFactroyDb

type IFactroyDb interface {
	FindColumns() *[]metadata.MetadataColumn

	BuildModel() *dto.DefineFactors
	MakeModelProto() *list.List
	MakeModelProtoBody(columns *[]metadata.MetadataColumn) *list.List
	FindPgPkey(table string) []metadata.MetaPkInfo
	FindFields(table string, fields string) string
	FindMetadata(table string) *metadata.MetadataTable
	FindTableComment()
	FindTables() []metadata.MetadataTable
	FindGoType(fieldType string) (goType string)
	FindProtoType(fieldType string) (pbType string)

	SetDbClientDto(dto *baseconfig.DbClientDto)
	GetDbClientDto() *baseconfig.DbClientDto
}

type MetadataMysql

type MetadataMysql interface {
	FindEsType(fieldType string) (esType string)
	FindGoType(fieldType string) (goType string)
	FindProtoType(fieldType string) (pbType string)
}

Jump to

Keyboard shortcuts

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