File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change 23
23
+ 中间件实现授权访问
24
24
+ redis 管理登陆会话
25
25
+ 日志错误管理
26
- + ORM 框架 gorp 引入
26
+ + ORM 框架引入 gorp
27
27
+ 图片上传,google.uuid 生成文件名
28
28
+ 使用 Go Module 方式开发
29
29
43
43
由于大陆网络无法下载google的包,使用七牛公司的代理,下载包前执行命令
44
44
1 . go env -w GOPROXY=https://goproxy.cn,direct
45
45
46
- ## 组件下载
47
- ```
48
- go get github.com/go-sql-driver/mysql
49
- go get github.com/kataras/iris
50
- go get github.com/go-gorp/gorp
51
- go get github.com/gomodule/redigo
52
- go get github.com/google/uuid
53
- go get github.com/juju/errors
54
- go get github.com/kataras/golog
55
- go github.com/asim/go-micro/v3
56
- go github.com/asim/go-micro/plugins/registry/consul/v3
57
- ```
58
-
59
46
## 使用说明
60
47
+ 请确保 80 端口没有被别的服务(比如iis)占用,然后在浏览器中输入:http://localhost
61
48
+ 如果需要添加修改数据,必须搭建内容管理项目,见安装说明
You can’t perform that action at this time.
0 commit comments