Documentation ¶
Index ¶
- func CompileTemplateToFile(templatePath string, outputFilePath string, serviceConfig ServiceConfig) error
- func CompileTemplatesToPath(templateFolder string, outputPath string, serviceConfig ServiceConfig) error
- func CreateService(serviceName string) error
- type MethodParameter
- type ServiceConfig
- type ServiceMethod
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompileTemplateToFile ¶
func CompileTemplateToFile(templatePath string, outputFilePath string, serviceConfig ServiceConfig) error
func CompileTemplatesToPath ¶
func CompileTemplatesToPath(templateFolder string, outputPath string, serviceConfig ServiceConfig) error
func CreateService ¶
Types ¶
type MethodParameter ¶
type ServiceConfig ¶
type ServiceConfig struct { Name string RepoPath string TemplateFuncs template.FuncMap Methods []ServiceMethod IsNewService bool }
func BuildServiceConfigFromPath ¶
func BuildServiceConfigFromPath(path string) ServiceConfig
type ServiceMethod ¶
type ServiceMethod struct { Name string Parameters []MethodParameter Results []MethodParameter HasImplementation bool }
Click to show internal directories.
Click to hide internal directories.