Documentation ¶
Index ¶
- func GetFilenameWithExt(path string) string
- func NewCmdExecutor(projectName, outputPath string) (*cmdExecutor, error)
- func NewConfigExecutor(projectName, outputPath string) (*configExecutor, error)
- func NewDockerExecutor(outputPath string) (*dockerExecutor, error)
- func NewENVExecutor(outputPath string) (*envExecutor, error)
- func NewGRPCServerExecutor(tmplData grpcserver.ServerData) *grpcServerExecutor
- func NewGitIgnoreExecutor(outputPath string) (*gitIgnoreExecutor, error)
- func NewGomodExecutor(moduleName string, outputPath string) (*gomodExecutor, error)
- func NewMakeFileExecutor(outputPath string) (*makeFileExecutor, error)
- func NewReadmeExecutor(projectName string, outputPath string) (*readmeExecutor, error)
- func NewServerExecutor(projectName string, enablePrometheus bool, services []grpcserver.Service, ...) (*serverExecutor, error)
- func NewServerHandlerExecutor(handlerDir string, services []grpcserver.Service) (*serverHandlerExecutor, error)
- func ToSnakeCase(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFilenameWithExt ¶
GetFilenameWithExt ... example : path: /server.go.tmpl -> return server.go.tmpl
func NewCmdExecutor ¶
func NewConfigExecutor ¶
func NewDockerExecutor ¶
func NewENVExecutor ¶
func NewGRPCServerExecutor ¶
func NewGRPCServerExecutor(tmplData grpcserver.ServerData) *grpcServerExecutor
func NewGitIgnoreExecutor ¶
func NewGomodExecutor ¶
func NewMakeFileExecutor ¶
func NewReadmeExecutor ¶
func NewServerExecutor ¶
func NewServerHandlerExecutor ¶
func NewServerHandlerExecutor(handlerDir string, services []grpcserver.Service) (*serverHandlerExecutor, error)
func ToSnakeCase ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.