diff --git a/content/posts/go/gin/2018-02-11-api-01.md b/content/posts/go/gin/2018-02-11-api-01.md index 92b209d..ef3c29b 100644 --- a/content/posts/go/gin/2018-02-11-api-01.md +++ b/content/posts/go/gin/2018-02-11-api-01.md @@ -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 diff --git a/content/posts/go/gin/2018-02-13-api-03.md b/content/posts/go/gin/2018-02-13-api-03.md index 7b5eb58..a77b95a 100644 --- a/content/posts/go/gin/2018-02-13-api-03.md +++ b/content/posts/go/gin/2018-02-13-api-03.md @@ -25,7 +25,7 @@ tags: 本节编写文章的逻辑,我们定义一下接口吧! - 获取文章列表:GET("/articles") -- 获取指定文章:POST("/articles/:id") +- 获取指定文章:GET("/articles/:id") - 新建文章:POST("/articles") - 更新指定文章:PUT("/articles/:id") - 删除指定文章:DELETE("/articles/:id") diff --git a/content/posts/go/gin/2018-03-15-reload-http.md b/content/posts/go/gin/2018-03-15-reload-http.md index 3b3ae8c..82be9bb 100644 --- a/content/posts/go/gin/2018-03-15-reload-http.md +++ b/content/posts/go/gin/2018-03-15-reload-http.md @@ -84,7 +84,7 @@ $ kill -l 4、启动新的子进程 -5、新的子进程开始 `Accet` +5、新的子进程开始 `Accept` 6、系统将新的请求转交新的子进程 diff --git a/content/posts/go/gin/2018-04-29-cron.md b/content/posts/go/gin/2018-04-29-cron.md index 576b9f5..f55d484 100644 --- a/content/posts/go/gin/2018-04-29-cron.md +++ b/content/posts/go/gin/2018-04-29-cron.md @@ -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 \* \* \* \* | ## 安装