Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix bug: wrong path and wrong http method #155

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion content/posts/go/gin/2018-02-11-api-01.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ require (...)

replace (
github.com/EDDYCJY/go-gin-example/pkg/setting => ~/go-application/go-gin-example/pkg/setting
github.com/EDDYCJY/go-gin-example/conf => ~/go-application/go-gin-example/pkg/conf
github.com/EDDYCJY/go-gin-example/conf => ~/go-application/go-gin-example/conf
github.com/EDDYCJY/go-gin-example/middleware => ~/go-application/go-gin-example/middleware
github.com/EDDYCJY/go-gin-example/models => ~/go-application/go-gin-example/models
github.com/EDDYCJY/go-gin-example/routers => ~/go-application/go-gin-example/routers
Expand Down
2 changes: 1 addition & 1 deletion content/posts/go/gin/2018-02-13-api-03.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ tags:
本节编写文章的逻辑,我们定义一下接口吧!

- 获取文章列表:GET("/articles")
- 获取指定文章:POST("/articles/:id")
- 获取指定文章:GET("/articles/:id")
- 新建文章:POST("/articles")
- 更新指定文章:PUT("/articles/:id")
- 删除指定文章:DELETE("/articles/:id")
Expand Down
2 changes: 1 addition & 1 deletion content/posts/go/gin/2018-03-15-reload-http.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ $ kill -l

4、启动新的子进程

5、新的子进程开始 `Accet`
5、新的子进程开始 `Accept`

6、系统将新的请求转交新的子进程

Expand Down
14 changes: 7 additions & 7 deletions content/posts/go/gin/2018-04-29-cron.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,13 +60,13 @@ Cron 表达式表示一组时间,使用 6 个空格分隔的字段

### 预定义的 Cron 时间表

| 输入 | 简述 | 相当于 |
| ---------------------- | -------------------------------------- | --------------- |
| @yearly (or @annually) | 1 月 1 日午夜运行一次 | 0 0 0 1 1 \* |
| @monthly | 每个月的午夜,每个月的第一个月运行一次 | 0 0 0 1 \* \* |
| @weekly | 每周一次,周日午夜运行一次 | 0 0 0 \* \* 0 |
| @daily (or @midnight) | 每天午夜运行一次 | 0 0 0 \* \* \* |
| @hourly | 每小时运行一次 | 0 0 \* \* \* \* |
| 输入 | 简述 | 相当于 |
| ---------------------- | -------------------------- | --------------- |
| @yearly (or @annually) | 1 月 1 日午夜运行一次 | 0 0 0 1 1 \* |
| @monthly | 每月的第一天午夜运行一次 | 0 0 0 1 \* \* |
| @weekly | 每周一次,周日午夜运行一次 | 0 0 0 \* \* 0 |
| @daily (or @midnight) | 每天午夜运行一次 | 0 0 0 \* \* \* |
| @hourly | 每小时运行一次 | 0 0 \* \* \* \* |

## 安装

Expand Down