entity

package
v0.0.0-...-25c1baa Latest Latest
Warning

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

Go to latest
Published: Jun 2, 2020 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Dir              string           `json:"dir"`
	Conn             string           `json:"conn"`
	SeedDir          string           `json:"seed_dir"`
	ProjectPackage   string           `json:"project_package"`
	ProjectStructure ProjectStructure `json:"project_structure"`
	CreatorApp       CreatorApp       `json:"creator_app_info"`
}

Config for running gan

type CreatorApp

type CreatorApp struct {
	PackageURL         string `json:"package_url"`
	StarterProjectName string `json:"starter_name"`
	StarterPackageName string `json:"starter_package"`
}

type Item

type Item struct {
	Dir      string `json:"dir"`
	Template string `json:"template"`
}

Item of field in project structure

type ProjectStructure

type ProjectStructure struct {
	Entity  Item `json:"entity"`
	Store   Item `json:"repository"`
	UseCase Item `json:"use_case"`
}

ProjectStructure of app that will generated by gan

Jump to

Keyboard shortcuts

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