makefile

package
v1.6.10-beta Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2023 License: GPL-3.0 Imports: 11 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	VarStringServiceName string
	VarStringStyle       string
	VarStringDir         string
	VarStringServiceType string
	VarBoolI18n          bool
	VarBoolEnt           bool
)

Functions

func DoGen

func DoGen(g *GenContext) error

func Gen

func Gen(_ *cobra.Command, _ []string) (err error)

Types

type GenContext

type GenContext struct {
	ServiceName string
	Style       string
	IsSingle    bool
	IsApi       bool
	IsRpc       bool
	UseI18n     bool
	UseEnt      bool
	TargetPath  string
	EntFeature  string
}

Jump to

Keyboard shortcuts

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