template_utils

package
v1.0.1-0...-bd443ad Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildGoFilePath

func BuildGoFilePath(projectPath, oriFilePath, oriFileBasePath, oriFileName, outPath string) (dirPath, outFilePath string)

C:\project\lico_alone\server = projectPath module\module-time-oc = outPath C:\project\lico_alone\server\module\module-time-oc = outFullPath oriFileBasePath = C:\project\lico_alone\server\common\gorm_template

func GenDir

func GenDir(inDir, outDir string, vars interface{})

dir out 都是相对路径的目录

func GenFiles

func GenFiles(origin, out string, vars interface{})

func GetProjectPath

func GetProjectPath() string

Types

This section is empty.

Jump to

Keyboard shortcuts

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