From fffb10dcb7290e852bc06701667697d4d2a228b4 Mon Sep 17 00:00:00 2001 From: Anton Novojilov Date: Tue, 26 May 2020 16:46:05 +0300 Subject: [PATCH] Update ek to v12 --- .travis.yml | 6 +----- CHANGELOG.md | 6 ++++++ Makefile | 2 +- README.md | 8 ++++---- librato.go | 8 ++++---- 5 files changed, 16 insertions(+), 14 deletions(-) diff --git a/.travis.yml b/.travis.yml index 9920bd5..7bde6fa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,10 +1,8 @@ language: go go: - - 1.10.x - - 1.11.x - - 1.12.x - 1.13.x + - 1.14.x - tip branches: @@ -22,8 +20,6 @@ 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.v8 script: - go build examples/annotations_example.go diff --git a/CHANGELOG.md b/CHANGELOG.md index d9efcaf..2cfa9bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ ## Changelog +### 10.0.0 + +* `ek` package updated to v12 + +--- + ### 9.0.0 * `ek` package updated to v11 diff --git a/Makefile b/Makefile index bababf9..8d8fc59 100644 --- a/Makefile +++ b/Makefile @@ -16,7 +16,7 @@ git-config: ## Configure git redirects for stable import path services git config --global http.https://pkg.re.followRedirects true deps: git-config ## Download dependencies - go get -d -v pkg.re/essentialkaos/ek.v11 + go get -d -v pkg.re/essentialkaos/ek.v12 fmt: ## Format source code with gofmt find . -name "*.go" -exec gofmt -s -w {} \; diff --git a/README.md b/README.md index 5b68a33..c668766 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

- + codebeat badge @@ -22,16 +22,16 @@ 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.10+ workspace (_[instructions](https://golang.org/doc/install)_), then +Make sure you have a working Go 1.13+ workspace (_[instructions](https://golang.org/doc/install)_), then ``` -go get pkg.re/essentialkaos/librato.v9 +go get pkg.re/essentialkaos/librato.v10 ``` For update to latest stable release, do: ``` -go get -u pkg.re/essentialkaos/librato.v9 +go get -u pkg.re/essentialkaos/librato.v10 ``` ### Examples diff --git a/librato.go b/librato.go index 32673ca..3f4010e 100644 --- a/librato.go +++ b/librato.go @@ -3,7 +3,7 @@ package librato // ////////////////////////////////////////////////////////////////////////////////// // // // -// Copyright (c) 2009-2019 ESSENTIAL KAOS // +// Copyright (c) 2009-2020 ESSENTIAL KAOS // // Essential Kaos Open Source License // // // // ////////////////////////////////////////////////////////////////////////////////// // @@ -15,14 +15,14 @@ import ( "strings" "time" - "pkg.re/essentialkaos/ek.v11/req" - "pkg.re/essentialkaos/ek.v11/timeutil" + "pkg.re/essentialkaos/ek.v12/req" + "pkg.re/essentialkaos/ek.v12/timeutil" ) // ////////////////////////////////////////////////////////////////////////////////// // // VERSION contains current version of librato package and used as part of User-Agent -const VERSION = "9.0.0" +const VERSION = "10.0.0" // ////////////////////////////////////////////////////////////////////////////////// //