mysql

package
v1.7.6 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ColumnInfo

type ColumnInfo struct {
	Criteria string
	Param    []string
}

type RepositoryGenerator

type RepositoryGenerator struct {
	EntityModel             code.Struct
	RepositoryType          code.Type
	RepositoryInterfaceType code.ExternalType
}

func NewRepositoryGenerator

func NewRepositoryGenerator(entityModel code.Struct, repositoryType code.ExternalType) *RepositoryGenerator

func (*RepositoryGenerator) GenerateConstructor

func (repoGen *RepositoryGenerator) GenerateConstructor(buffer io.Writer) error

func (*RepositoryGenerator) GenerateMethod

func (repoGen *RepositoryGenerator) GenerateMethod(methodSpec spec.MethodSpec, buffer io.Writer) error

Jump to

Keyboard shortcuts

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