diff --git a/CHANGELOG.md b/CHANGELOG.md index 20164da..9bd7856 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,11 @@ +### Release v1.8 + +2019.02.27 + +- 使用 go1.12 编译 + + + ### Release v1.7 2019.01.24 diff --git a/README.md b/README.md index 2476124..978e602 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ fileboy,文件变更监听通知系统,使用 Go 编写。 ## 编译环境 -go version >=1.10,推荐 1.11 +go version >=1.10,推荐 1.12 ## 更新日志 @@ -28,8 +28,8 @@ go version >=1.10,推荐 1.11 ### 下载二进制文件 -Github: [正式版 v1.7](https://github.com/dengsgo/fileboy/releases) -Gitee: [正式版 v1.7](https://gitee.com/dengsgo/fileboy/releases) +Github: [正式版 v1.8](https://github.com/dengsgo/fileboy/releases) +Gitee: [正式版 v1.8](https://gitee.com/dengsgo/fileboy/releases) 下载已经编译好的对应平台二进制文件,重命名为`fileboy`, 加入系统 Path 中即可。 @@ -125,7 +125,7 @@ notifier: # 请求超时 15 秒 # POST 格式: # Content-Type: application/json;charset=UTF-8 - # User-Agent: FileBoy Net Notifier v1.7 + # User-Agent: FileBoy Net Notifier v1.8 # Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"} # 例: http://example.com/notifier/fileboy-listener # 不启用通知,请留空 "" diff --git a/notifer.go b/notifer.go index 352faa2..855d04f 100644 --- a/notifer.go +++ b/notifer.go @@ -60,7 +60,7 @@ func (n *NetNotifier) dispatch(params *postParams) { return } req.Header.Set("Content-Type", "application/json;charset=UTF-8") - req.Header.Set("User-Agent", "FileBoy Net Notifier v1.7") + req.Header.Set("User-Agent", "FileBoy Net Notifier v1.8") resp, err := client.Do(req) if err != nil { log.Println(PreError, "notifier call failed. err:", err) diff --git a/raw.go b/raw.go index 56c8ac1..9dc42b0 100644 --- a/raw.go +++ b/raw.go @@ -61,7 +61,7 @@ notifier: # 请求超时 15 秒 # POST 格式: # Content-Type: application/json;charset=UTF-8 - # User-Agent: FileBoy Net Notifier v1.7 + # User-Agent: FileBoy Net Notifier v1.8 # Body: {"project_folder":"/watcher-dirs","file":"test.go","changed":1546421173070433800,"ext":".go"} # 例: http://example.com/notifier/fileboy-listener # 不启用通知,请留空 "" @@ -104,13 +104,13 @@ var logo = ` _____ _ | | _____ ____) ) | | | |___| | | ___) | | | | | ___) | __ (| | | |\_____/ | | _| |_| |_____| |_____| |__) ) |___| | ___ -|_| (_____)_______)_______)______/ \_____/ (___) V1.7 +|_| (_____)_______)_______)______/ \_____/ (___) V1.8 ` var statement = `Dengsgo [dengsgo@gmail.com] Open Source with MIT License` var versionDesc = ` - Version fileboy: v1.7 filegirl: v` + strconv.Itoa(Version) + ` -Released 2019.1.24 + Version fileboy: v1.8 filegirl: v` + strconv.Itoa(Version) + ` +Released 2019.2.27 Licence MIT Author dengsgo [dengsgo@gmail.com] Website https://github.com/dengsgo/fileboy