You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
taoshihan1991
7080589568
|
5 years ago | |
---|---|---|
config | 5 years ago | |
controller | 5 years ago | |
database | 5 years ago | |
middleware | 5 years ago | |
static | 5 years ago | |
tmpl | 5 years ago | |
tools | 5 years ago | |
.gitignore | 5 years ago | |
go.mod | 5 years ago | |
go.sum | 5 years ago | |
readme.md | 5 years ago | |
server.go | 5 years ago |
readme.md
go-fly
基于GO语言实现的即时通讯与管理系统工具集。
1.使用gin http框架实现restful风格的API
2.使用jwt-go实现无状态的jwt登陆认证
3.使用casbin实现权限控制
4.使用gin以及template包的模板语法进行展示界面
5.使用go modoule解决依赖问题
6.充分实践了struct,interface,map,slice,for range,groutine等基础知识
项目预览
安装使用
1.在go get github.com/taoshihan1991/go-fly ,进入$GOPATH/src/github.com/taoshihan1991/go-fly 目录
2.源码运行 go run server.go
3.源码打包 go build server.go