[TOC]- 关于我
执着于理想,纯粹与当下...
基于Go语言gin框架搭建的可快速开发的脚手架
基于echo框架,搭建一个快速开发的脚手架。
安装完之后名字ginframe可改,可根据自己的需求精简或者添加架子结构。也可直接使用
git clone https://github.com/jeffcail/ginframe.git
cd ginframe
go mod tidy
go run main.go
- 快速上手、快速开发、快速交付
- 高性能、高扩展,避免重复造轮子
- viper: https://github.com/spf13/viper
- Nacos: https://nacos.io/zh-cn/
- Echo: https://github.com/gin-gonic/gin
快速开发、避免重复造轮子
application.yml为主配置文件.ConfigRemote觉得是否启用远程配置,支持Nacos. config.yml 为应用配置
http路由
websocket路由
成功、失败、分页
http请求. GET、POST带header头和参数
可用于api接口参数加密