templates

package
v0.1.1-beta Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MODEL_TEMPLATE = `` /* 484-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func GetGeneratorStructCode

func GetGeneratorStructCode() string

func GetWarehouseCode

func GetWarehouseCode() string

GetWarehouseCode 获取仓储实体

func NewTemplateForPath

func NewTemplateForPath(string)

NewTemplateForPath 待开发

Types

type ITemplate

type ITemplate interface {
	// SetPath 设置模板路径
	SetPath(path string) error
	// HandlerTemplate 处理模板
	HandlerTemplate() error
}

type Template

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

func NewTemplate

func NewTemplate(f model.FlagModel) *Template

NewTemplate 创建模板

Jump to

Keyboard shortcuts

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