Skip to content

zhuchenglin/goweb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goweb

使用go语言封装一个简单的api框架
author: Wisdomlin

框架组成:

  1. // 数据库orm采用gorm 文档地址 https://gorm.io/zh_CN/docs/connecting_to_the_database.html

使用注意:

  1. 因为 gorm里面需要 crypto库,这个库的地址被墙了,需要 在 vendor/pkg/mod/cache/download/golang.org/x 中 git clone https://github.com/golang/crypto.git
  2. 关于包的导入,如果是要导入 自己用这个框架写的包的话,前缀是 Wisdomlin/goweb/ 后面加上包名

数据库配置:

  1. 需要补充数据库的配置项在 conf/

About

使用go语言封装一个简单的api框架

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages