executor

package
v0.0.0-...-61578eb Latest Latest
Warning

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

Go to latest
Published: Oct 25, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetFilenameWithExt

func GetFilenameWithExt(path string) string

GetFilenameWithExt ... example : path: /server.go.tmpl -> return server.go.tmpl

func NewCmdExecutor

func NewCmdExecutor(projectName, outputPath string) (*cmdExecutor, error)

func NewConfigExecutor

func NewConfigExecutor(projectName, outputPath string) (*configExecutor, error)

func NewDockerExecutor

func NewDockerExecutor(outputPath string) (*dockerExecutor, error)

func NewENVExecutor

func NewENVExecutor(outputPath string) (*envExecutor, error)

func NewGRPCServerExecutor

func NewGRPCServerExecutor(tmplData grpcserver.ServerData) *grpcServerExecutor

func NewGitIgnoreExecutor

func NewGitIgnoreExecutor(outputPath string) (*gitIgnoreExecutor, error)

func NewGomodExecutor

func NewGomodExecutor(moduleName string,
	outputPath string) (*gomodExecutor, error)

func NewMakeFileExecutor

func NewMakeFileExecutor(outputPath string) (*makeFileExecutor, error)

func NewReadmeExecutor

func NewReadmeExecutor(projectName string,
	outputPath string) (*readmeExecutor, error)

func NewServerExecutor

func NewServerExecutor(projectName string, enablePrometheus bool, services []grpcserver.Service, outputPath string) (*serverExecutor, error)

func NewServerHandlerExecutor

func NewServerHandlerExecutor(handlerDir string, services []grpcserver.Service) (*serverHandlerExecutor, error)

func ToSnakeCase

func ToSnakeCase(str string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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