Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type APIGenerator ¶
type APIGenerator struct{}
func (APIGenerator) Generate ¶
func (APIGenerator) Generate(projectPath, apiName string) error
func (APIGenerator) GenerateCRUD ¶
func (APIGenerator) GenerateCRUD(projectPath string, database dbschema.Database) error
type AuthGenerator ¶
type AuthGenerator struct{ Runner CommandRunner }
func (AuthGenerator) Generate ¶
func (g AuthGenerator) Generate(ctx context.Context, projectPath string, options AuthOptions) error
type AuthOptions ¶
type AuthOptions struct{ JWT bool }
type CommandRunner ¶
type ExecRunner ¶
type ExecRunner struct{}
type MethodGenerator ¶
type MethodGenerator struct{}
func (MethodGenerator) Generate ¶
func (MethodGenerator) Generate(projectPath string, options MethodOptions) error
type MethodOptions ¶
type ProjectGenerator ¶
type ProjectGenerator struct {
Runner CommandRunner
Output io.Writer
}
func (ProjectGenerator) Generate ¶
func (g ProjectGenerator) Generate(ctx context.Context, options ProjectOptions) (returnErr error)
type ProjectOptions ¶
type SwaggerGenerator ¶
type SwaggerGenerator struct{}
func (SwaggerGenerator) Generate ¶
func (SwaggerGenerator) Generate(projectPath string) (returnErr error)
type UploadGenerator ¶
type UploadGenerator struct{}
func (UploadGenerator) Generate ¶
func (UploadGenerator) Generate(projectPath string) error
type WorkspaceGenerator ¶
type WorkspaceGenerator struct {
Runner CommandRunner
Output io.Writer
}
func (WorkspaceGenerator) AddService ¶
func (g WorkspaceGenerator) AddService(ctx context.Context, root, name string) error
func (WorkspaceGenerator) Generate ¶
func (g WorkspaceGenerator) Generate(ctx context.Context, options WorkspaceOptions) (returnErr error)
type WorkspaceOptions ¶
Click to show internal directories.
Click to hide internal directories.