https://github.com/liburdi/go-blogs
适合小白入门go语言的博客项目|Here’s the translated list of beginner-friendly blog projects to help you get started with Go programming
https://github.com/liburdi/go-blogs
go-blog golang golang-examples
Last synced: about 1 year ago
JSON representation
适合小白入门go语言的博客项目|Here’s the translated list of beginner-friendly blog projects to help you get started with Go programming
- Host: GitHub
- URL: https://github.com/liburdi/go-blogs
- Owner: liburdi
- License: mit
- Created: 2018-09-10T08:21:04.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-09-26T11:04:36.000Z (almost 2 years ago)
- Last Synced: 2025-04-30T10:13:25.079Z (about 1 year ago)
- Topics: go-blog, golang, golang-examples
- Language: CSS
- Homepage:
- Size: 16.1 MB
- Stars: 97
- Watchers: 0
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### 前文
适合小白入门go语言的博客项目
### 概论
- go version
```1.12以上```
- 框架
无框架手撸
- 目录结构
1.common 公用的助手函数
2.config 配置文件
3.controllers 控制器,存放api文件
4.db 数据库连接,数据库方法重写等
5.redis redis连接,redis方法重写等
6.models 数据库模型
7.router 路由
8.templates 模版文件目录
9.static 静态文件目录
10.uploads 上传文件目录
### 启动
```
make run
```