blog/init

18 lines
408 B
Plaintext

# 需要go get的包
# Iris框架
go get github.com/kataras/iris/v12
# gorm
go get gorm.io/gorm
# gorm的sqlite驱动
go get github.com/glebarez/sqlite
# redis
go get github.com/redis/go-redis/v9
# map转struct
go get github.com/mitchellh/mapstructure
# 验证码
go get -u github.com/mojocn/base64Captcha
# 打包发布的时候要切换系统环境进行编译
go env -w GOOS=linux
go env -w GOOS=windows