generator

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenClient added in v1.3.0

func GenClient() error

func GenConfig

func GenConfig() error

func GenEtc

func GenEtc() error

func GenFile added in v1.4.5

func GenFile(fileName, templateText string, opt ...Option) error

func GenLogic

func GenLogic() error

func GenMain

func GenMain() error

func GenPB

func GenPB() error

func GenServer

func GenServer() error

func GenSvc added in v1.4.2

func GenSvc() error

Types

type Option added in v1.4.5

type Option func(*fileGenConfig)

func WithData added in v1.4.5

func WithData(data any) Option

WithData 设置数据

func WithDir added in v1.4.5

func WithDir(dir string) Option

WithDir 设置目录

func WithSubDir added in v1.4.5

func WithSubDir(dir string) Option

WithSubDir 设置二级目录

Jump to

Keyboard shortcuts

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