app

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: EPL-1.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenConfigYaml added in v0.0.6

func GenConfigYaml()

func GenModels added in v0.1.1

func GenModels()

func Generate

func Generate() error

Types

type App

type App struct {
	AppName string `json:"app_name" mapstructure:"app_name"`
	Port    string `json:"port" mapstructure:"port"`
}

func (*App) GenBaseModel added in v0.1.1

func (app *App) GenBaseModel()

func (*App) GenController

func (app *App) GenController()

func (*App) GenGoMod added in v0.1.0

func (app *App) GenGoMod()

func (*App) GenMain

func (app *App) GenMain()

func (*App) GenRouter

func (app *App) GenRouter()

type Table added in v0.1.1

type Table struct {
	ColumnName    string //  名称
	ColumnComment string //  注释
	DataType      string
	IsNullable    string
}

Jump to

Keyboard shortcuts

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