# go博客后端学习模板 **Repository Path**: bestows_zth/Appitems ## Basic Information - **Project Name**: go博客后端学习模板 - **Description**: 很多功能没写完,并且可能会有点bug,个人学习看看没问题 - **Primary Language**: Go - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-08-19 - **Last Updated**: 2023-08-19 ## Categories & Tags **Categories**: Uncategorized **Tags**: Go语言, Gin, JWT, gorm ## README # go博客后端学习模板 #### 介绍 很多功能没写完,用来学习还是没问题滴,项目中都有注释 > 一个勤奋的职高小白 #### 这个项目使用到的库和框架 jwt go get -u github.com/dgrijalva/jwt-go ---> 加密模块
gin go get -u github.com/gin-gonic/gin ---> web框架
cors go get -u github.com/gin-contrib/cors --> 解决跨域问题
gorm go get -u github.com/jinzhu/gorm ------>gorm
session go get -u github.com/gin-contrib/sessions
viper go get -u github.com/spf13/viper ----->读取并解析配置文件(例如 JSON、YAML、TOML、INI等)中的配置项;