Documentation
¶
Index ¶
- Constants
- func CreateComponentFileTemplate(packageName, componentCamelName, componentKebabName string) string
- func CreateFormFileTemplate(packageName, formName string) string
- func CreateHandlerFileTemplate(packageName, handlerName string) string
- func CreateHandlerPageFileTemplate(handlerInfo, pageInfo model.FileInfo) string
- func CreateModuleFileTemplate(moduleName, version string) string
- func CreatePageFileTemplate(packageName, pageName string) string
- func CreatePropsFileTemplate(packageName string) string
- func CreateRouteFileTemplate(packageName, moduleName, handlerPackageName, handlerName string) string
Constants ¶
View Source
const ( HandlerFileTemplate = `` /* 272-byte string literal not displayed */ HandlerPageFileTemplate = `` /* 242-byte string literal not displayed */ )
View Source
const (
ComponentFileTemplate = `` /* 338-byte string literal not displayed */
)
View Source
const (
FormFileTemplate = `` /* 473-byte string literal not displayed */
)
View Source
const (
MigrationFileContent = `` /* 200-byte string literal not displayed */
)
View Source
const (
MigratorFileContent = `` /* 255-byte string literal not displayed */
)
View Source
const (
ModuleFileTemplate = `module %[1]s
go %[2]s
`
)
View Source
const (
PageFileTemplate = `` /* 191-byte string literal not displayed */
)
View Source
const (
PropsFileTemplate = `package %[1]s
type Props struct {
}
`
)
View Source
const (
RouteFileTemplate = `` /* 255-byte string literal not displayed */
)
Variables ¶
This section is empty.
Functions ¶
func CreateFormFileTemplate ¶
func CreateHandlerPageFileTemplate ¶ added in v0.1.2
func CreateModuleFileTemplate ¶ added in v0.1.2
func CreatePageFileTemplate ¶
func CreatePropsFileTemplate ¶ added in v0.1.2
func CreateRouteFileTemplate ¶ added in v0.1.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.