UGin是使用Gin Framework用Go(Golang)编写的API样板。-Golang开发

时间:2021-05-26 17:10:04
【文件属性】:
文件名称:UGin是使用Gin Framework用Go(Golang)编写的API样板。-Golang开发
文件大小:47KB
文件格式:ZIP
更新时间:2021-05-26 17:10:04
Golang Web Frameworks UGin-Ultimate Gin API UGin是使用Gin Framework用Go(Golang)编写的API样板。 https://github.com/gin-gonic/gin数据库支持UGin使用gorm作为ORM。 因此支持Sqlite3,MySQL和PostgreSQL。 UGin-Ultimate Gin API UGin是使用Gin Framework用Go(Golang)编写的API样板。 https://github.com/gin-gonic/gin数据库支持UGin使用gorm作为ORM。 因此支持Sqlite3,MySQL和PostgreSQL。 您只需要根据您的设置编辑config.yml文件即可。 config.yml内容:数据库:驱动程序:“ postgres” dbname:“ database_name”用户名:“ user”密码:“ password”主机:“ localhost”端口:“ 5432”默认模型UGin有两个模型(Post和Tag)作为锅炉
【文件预览】:
ugin-master
----pkg()
--------config()
--------database()
--------middleware()
--------router()
----ugin.db(28KB)
----docs()
--------swagger.json(8KB)
--------docs.go(9KB)
--------swagger.yaml(4KB)
----main_test.go(1KB)
----model()
--------post.go(1KB)
--------auth.go(670B)
----LICENSE(11KB)
----config.yml(286B)
----main.go(823B)
----.gitignore(506B)
----CHANGELOG.md(518B)
----controller()
--------base.go(93B)
--------post.go(3KB)
--------auth.go(4KB)
--------admin.go(344B)
----service()
--------helper_test.go(1KB)
--------post.go(2KB)
--------auth.go(2KB)
--------helper.go(2KB)
--------user.go(185B)
----go.sum(49KB)
----README.md(4KB)
----go.mod(1KB)

网友评论