Categorygithub.com/jtao539/autocode
modulepackage
1.0.24
Repository: https://github.com/jtao539/autocode.git
Documentation: pkg.go.dev

# README

autocode

一个自动生成后端代码的工具,小巧精致,功能齐全

基于gin,sqlx等工具

生成代码使用示例

  	autocode.InitDB("root", "123456", "localhost", "3306", "demo")
	b := autocode.ProBasic{ModName: "testAuto", TblName: "tbl_product", Name: "Product"}
	b.Start()

项目启动示例

	db.Init("root", "123456", "localhost", "3306", "demo")
	r := gin.Default()
	router.Register(r)
	r.Run(":8080")

注意:需要将router包下生成的router注册到,register.go 文件中,该模块方可使用

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author