Git Product home page Git Product logo

go-gin-gorm-api-base's Introduction

change log

2021-08-11

  1. post 文章增删改查
  2. 分页
  3. uuid

2021-08-10

  1. 封装数据库的增删改查
  2. 增加 middleware 统一捕获错误并返回

2021-08-09

  1. 配置数据库时区
  2. 分类的增删改查
  3. 快捷生成方法
  4. 配置跨域中间件
  5. 路由分组
  6. 处理前端 json 请求体
  7. 修复删除不存在 id

2021-08-08

  1. 添加路由中间件
  2. jwt 加密 & 解析
  3. 获取用户信息接口
  4. 密码加密
  5. viper 管理项目配置 yml & 初始化
  6. 修改 gin 监听端口号
  7. 相应统一封装 & 相应格式
  8. 获取用户信息相应内容

2021-08-07

  1. 配置 go 环境
  2. 安装 gin & gorm & gorm mysql
  3. 服务端安装 docker & 数据库
  4. 用 datagrip 连接数据库
  5. main 方法接收请求 & 验证数据 & 查数据库
  6. gorm 连接数据库 & 延时关闭
  7. 拆分模块

go-gin-gorm-api-base's People

Contributors

iizyd avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.