Skip to content

适合小白入门go语言的博客项目|Here’s the translated list of beginner-friendly blog projects to help you get started with Go programming

License

Notifications You must be signed in to change notification settings

liburdi/go-blogs

Repository files navigation

前文

适合小白入门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

About

适合小白入门go语言的博客项目|Here’s the translated list of beginner-friendly blog projects to help you get started with Go programming

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published