Documentation
¶
Index ¶
- Constants
- func GenerateAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
- func GenerateBackendApi(model Model, overwrite bool, delete bool) error
- func GenerateBackendAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
- func GenerateBackendModel(model Model, overwrite bool, delete bool) error
- func GenerateBackendScaffold(model Model, overwrite bool, delete bool) error
- func GenerateBackendService(model Model, overwrite bool, delete bool) error
- func GenerateFrontend(overwrite bool, delete bool) error
- func GenerateFrontendAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
- func GenerateFrontendScaffold(model Model, overwrite bool, delete bool) error
- func GenerateModelTemplate(templateDirectory string, model Model, overwrite bool, delete bool) error
- func GenerateNewProject(groupId string, artifactId string) error
- func GenerateScaffold(model Model, overwrite bool, delete bool) error
- type Model
- type ModelAttribute
- type Properties
Constants ¶
View Source
const ( STRING = iota INT TEXT DATE BOOLEAN NULL_STRING NULL_INT NULL_TEXT NULL_DATE NULL_BOOLEAN RELATIONAL )
Variables ¶
This section is empty.
Functions ¶
func GenerateAuthentication ¶ added in v0.0.3
func GenerateAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
func GenerateBackendAuthentication ¶ added in v0.0.3
func GenerateBackendAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
func GenerateBackendModel ¶
func GenerateBackendScaffold ¶
func GenerateBackendService ¶
func GenerateFrontend ¶
func GenerateFrontendAuthentication ¶ added in v0.0.3
func GenerateFrontendAuthentication(attributes []ModelAttribute, overwrite bool, delete bool) error
func GenerateModelTemplate ¶
func GenerateNewProject ¶
Types ¶
type Model ¶
type Model struct {
Name string
Attributes []ModelAttribute
}
type ModelAttribute ¶
type Properties ¶
Click to show internal directories.
Click to hide internal directories.