基于gin+gorm开发的个人博客项目
作为一名web开发程序员居然没有自己的博客,都不好意思对外宣称自己的开发web的。 以前也有写博客的习惯,但是都是用的现有的博客网站。
-wblog
|-conf 配置文件目录
|-controllers 控制器目录
|-helpders 公共方法目录
|-models 数据库访问目录
|-static 静态资源目录
|-css css文件目录
|-images 图片目录
|-js js文件目录
|-libs js类库
|-system 系统配置文件加载目录
|-tests 测试目录
|-vendor 项目依赖其他开源项目目录
|-views 模板文件目录
|-main.go 程序执行入口
本项目使用govendor管理依赖包,govendor安装方法
go get -u github.com/kardianos/govendor
git clone https://github.com/wangsongyan/wblog
cd wblog
govendor sync
go run main.go
如果项目对您有帮助,打赏个鸡腿吃呗!