diff --git a/.travis.yml b/.travis.yml index f892791..5873158 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,9 +22,9 @@ matrix: - go: tip before_install: - - go get pkg.re/essentialkaos/ek.v7 + - make deps - mkdir -p $GOPATH/src/pkg.re/essentialkaos - - ln -sf $GOPATH/src/github.com/essentialkaos/librato $GOPATH/src/pkg.re/essentialkaos/librato.v5 + - ln -sf $GOPATH/src/github.com/essentialkaos/librato $GOPATH/src/pkg.re/essentialkaos/librato.v6 script: - go build examples/annotations_example.go diff --git a/Makefile b/Makefile index 7e4d109..5ae027b 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,17 @@ ######################################################################################## -# This Makefile generated by GoMakeGen 0.4.0 using next command: +# This Makefile generated by GoMakeGen 0.5.0 using next command: # gomakegen --metalinter . ######################################################################################## -.PHONY = fmt deps +.PHONY = fmt deps metalinter ######################################################################################## deps: git config --global http.https://pkg.re.followRedirects true - go get -v pkg.re/essentialkaos/ek.v7 + go get -d -v pkg.re/essentialkaos/ek.v8 fmt: find . -name "*.go" -exec gofmt -s -w {} \; diff --git a/examples/annotations_example.go b/examples/annotations_example.go index 555797e..82b02f8 100644 --- a/examples/annotations_example.go +++ b/examples/annotations_example.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "pkg.re/essentialkaos/librato.v5" + "pkg.re/essentialkaos/librato.v6" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/async_example.go b/examples/async_example.go index 09b2640..9e19071 100644 --- a/examples/async_example.go +++ b/examples/async_example.go @@ -6,9 +6,9 @@ import ( "fmt" "time" - "pkg.re/essentialkaos/ek.v7/rand" + "pkg.re/essentialkaos/ek.v8/rand" - "pkg.re/essentialkaos/librato.v5" + "pkg.re/essentialkaos/librato.v6" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/basic_example.go b/examples/basic_example.go index 83acc74..ae3fa0f 100644 --- a/examples/basic_example.go +++ b/examples/basic_example.go @@ -6,9 +6,9 @@ import ( "fmt" "time" - "pkg.re/essentialkaos/ek.v7/rand" + "pkg.re/essentialkaos/ek.v8/rand" - "pkg.re/essentialkaos/librato.v5" + "pkg.re/essentialkaos/librato.v6" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/examples/collector_example.go b/examples/collector_example.go index 41161d9..91cd265 100644 --- a/examples/collector_example.go +++ b/examples/collector_example.go @@ -6,9 +6,9 @@ import ( "fmt" "time" - "pkg.re/essentialkaos/ek.v7/rand" + "pkg.re/essentialkaos/ek.v8/rand" - "pkg.re/essentialkaos/librato.v5" + "pkg.re/essentialkaos/librato.v6" ) // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/librato.go b/librato.go index 6db0a75..571e8b8 100644 --- a/librato.go +++ b/librato.go @@ -15,14 +15,14 @@ import ( "strings" "time" - "pkg.re/essentialkaos/ek.v7/req" - "pkg.re/essentialkaos/ek.v7/timeutil" + "pkg.re/essentialkaos/ek.v8/req" + "pkg.re/essentialkaos/ek.v8/timeutil" ) // ////////////////////////////////////////////////////////////////////////////////// // // VERSION contains current version of librato package and used as part of User-Agent -const VERSION = "5.0.0" +const VERSION = "6.0.0" // ////////////////////////////////////////////////////////////////////////////////// // diff --git a/readme.md b/readme.md index 8cd035f..a10f7f2 100644 --- a/readme.md +++ b/readme.md @@ -1,4 +1,4 @@ -# Librato [![GoDoc](https://godoc.org/pkg.re/essentialkaos/librato.v5?status.svg)](https://godoc.org/pkg.re/essentialkaos/librato.v5) [![Build Status](https://travis-ci.org/essentialkaos/librato.svg?branch=master)](https://travis-ci.org/essentialkaos/librato) [![Go Report Card](https://goreportcard.com/badge/github.com/essentialkaos/librato)](https://goreportcard.com/report/github.com/essentialkaos/librato) [![codebeat badge](https://codebeat.co/badges/f82e704d-67a7-4c6f-9e5d-1acf058c937b)](https://codebeat.co/projects/github-com-essentialkaos-librato) [![License](https://gh.kaos.io/ekol.svg)](https://essentialkaos.com/ekol) +# Librato [![GoDoc](https://godoc.org/pkg.re/essentialkaos/librato.v6?status.svg)](https://godoc.org/pkg.re/essentialkaos/librato.v6) [![Build Status](https://travis-ci.org/essentialkaos/librato.svg?branch=master)](https://travis-ci.org/essentialkaos/librato) [![Go Report Card](https://goreportcard.com/badge/github.com/essentialkaos/librato)](https://goreportcard.com/report/github.com/essentialkaos/librato) [![codebeat badge](https://codebeat.co/badges/f82e704d-67a7-4c6f-9e5d-1acf058c937b)](https://codebeat.co/projects/github-com-essentialkaos-librato) [![License](https://gh.kaos.io/ekol.svg)](https://essentialkaos.com/ekol) Package for working with [Librato Metrics](https://www.librato.com) API from Go code. @@ -13,13 +13,13 @@ git config --global http.https://pkg.re.followRedirects true Make sure you have a working Go 1.6+ workspace ([instructions](https://golang.org/doc/install)), then ``` -go get pkg.re/essentialkaos/librato.v5 +go get pkg.re/essentialkaos/librato.v6 ``` For update to latest stable release, do: ``` -go get -u pkg.re/essentialkaos/librato.v5 +go get -u pkg.re/essentialkaos/librato.v6 ``` ## Examples