From a2569f3e83ee1cb6ca7d70cd0ba020aa0b961f9d Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 10 Dec 2018 16:14:42 +0300 Subject: [PATCH 1/3] EK package updated to v10 --- librato.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/librato.go b/librato.go index 7081687..e072692 100644 --- a/librato.go +++ b/librato.go @@ -15,14 +15,14 @@ import ( "strings" "time" - "pkg.re/essentialkaos/ek.v9/req" - "pkg.re/essentialkaos/ek.v9/timeutil" + "pkg.re/essentialkaos/ek.v10/req" + "pkg.re/essentialkaos/ek.v10/timeutil" ) // ////////////////////////////////////////////////////////////////////////////////// // // VERSION contains current version of librato package and used as part of User-Agent -const VERSION = "7.0.0" +const VERSION = "8.0.0" // ////////////////////////////////////////////////////////////////////////////////// // From 65cb9c0dee4f2b63d39cab19d529a2721e43dfdf Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 10 Dec 2018 16:18:01 +0300 Subject: [PATCH 2/3] Fixed docs and makefile --- Makefile | 5 ++--- README.md | 6 +++--- examples/annotations_example.go | 2 +- examples/async_example.go | 2 +- examples/basic_example.go | 2 +- examples/collector_example.go | 2 +- 6 files changed, 9 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 73dbaf4..f03f958 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ ################################################################################ -# This Makefile generated by GoMakeGen 0.8.0 using next command: +# This Makefile generated by GoMakeGen 0.8.1 using next command: # gomakegen --metalinter . ################################################################################ @@ -12,8 +12,7 @@ deps: ## Download dependencies git config --global http.https://pkg.re.followRedirects true - go get -d -v pkg.re/essentialkaos/ek.v9 - go get -d -v pkg.re/essentialkaos/librato.v7 + go get -d -v pkg.re/essentialkaos/ek.v10 fmt: ## Format source code with gofmt find . -name "*.go" -exec gofmt -s -w {} \; diff --git a/README.md b/README.md index fad5220..8a8f0e8 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

InstallationExamplesLicense

- + codebeat badge @@ -23,13 +23,13 @@ git config --global http.https://pkg.re.followRedirects true Make sure you have a working Go 1.8+ workspace (_[instructions](https://golang.org/doc/install)_), then ``` -go get pkg.re/essentialkaos/librato.v7 +go get pkg.re/essentialkaos/librato.v8 ``` For update to latest stable release, do: ``` -go get -u pkg.re/essentialkaos/librato.v7 +go get -u pkg.re/essentialkaos/librato.v8 ``` ### Examples diff --git a/examples/annotations_example.go b/examples/annotations_example.go index 733c79d..d120ca9 100644 --- a/examples/annotations_example.go +++ b/examples/annotations_example.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "pkg.re/essentialkaos/librato.v7" + "pkg.re/essentialkaos/librato.v8" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/async_example.go b/examples/async_example.go index 3c8ade7..93bf1d8 100644 --- a/examples/async_example.go +++ b/examples/async_example.go @@ -7,7 +7,7 @@ import ( "math/rand" "time" - "pkg.re/essentialkaos/librato.v7" + "pkg.re/essentialkaos/librato.v8" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/basic_example.go b/examples/basic_example.go index 1dc6713..443a55b 100644 --- a/examples/basic_example.go +++ b/examples/basic_example.go @@ -7,7 +7,7 @@ import ( "math/rand" "time" - "pkg.re/essentialkaos/librato.v7" + "pkg.re/essentialkaos/librato.v8" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/collector_example.go b/examples/collector_example.go index cf90b9a..26b0477 100644 --- a/examples/collector_example.go +++ b/examples/collector_example.go @@ -7,7 +7,7 @@ import ( "math/rand" "time" - "pkg.re/essentialkaos/librato.v7" + "pkg.re/essentialkaos/librato.v8" ) // ////////////////////////////////////////////////////////////////////////////////// // From 9a9b9630783f5f58d8d89edbcb7ffc1702c98470 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Mon, 10 Dec 2018 16:21:21 +0300 Subject: [PATCH 3/3] Fixes --- .travis.yml | 5 ++--- CHANGELOG.md | 6 ++++++ README.md | 2 +- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5b32771..474c9a3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,9 +3,8 @@ sudo: false language: go go: - - 1.8.x - - 1.9.x - 1.10.x + - 1.11.x - tip branches: @@ -24,7 +23,7 @@ matrix: before_install: - make deps - mkdir -p $GOPATH/src/pkg.re/essentialkaos - - ln -sf $GOPATH/src/github.com/essentialkaos/librato $GOPATH/src/pkg.re/essentialkaos/librato.v7 + - ln -sf $GOPATH/src/github.com/essentialkaos/librato $GOPATH/src/pkg.re/essentialkaos/librato.v8 script: - go build examples/annotations_example.go diff --git a/CHANGELOG.md b/CHANGELOG.md index 69adf11..605cf38 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### 8.0.0 + +* `ek` package updated to v10 + +--- + ### 7.0.0 * `ek` package updated to v9 diff --git a/README.md b/README.md index 8a8f0e8..4b7668d 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ Before the initial install allows git to use redirects for [pkg.re](https://gith git config --global http.https://pkg.re.followRedirects true ``` -Make sure you have a working Go 1.8+ workspace (_[instructions](https://golang.org/doc/install)_), then +Make sure you have a working Go 1.10+ workspace (_[instructions](https://golang.org/doc/install)_), then ``` go get pkg.re/essentialkaos/librato.v8