genapplication

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 10 Imported by: 0

README

Gogen Application

Call gogen application myapp will

  • create a folder and file application
  • binding all together the controller usecase and gateway

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InjectApplicationInMain

func InjectApplicationInMain(appName string) ([]byte, error)

func InjectRegisterUsecaseInApplication

func InjectRegisterUsecaseInApplication(usecaseName, appFile string) ([]byte, error)

func Run

func Run(inputs ...string) error

Types

type ObjTemplate

type ObjTemplate struct {
	PackagePath     string
	DomainName      string
	ApplicationName string
	ControllerName  *string
	GatewayName     *string
	UsecaseNames    []string
}

ObjTemplate ...

Jump to

Keyboard shortcuts

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