Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

Commit

Permalink
Update ek to v12
Browse files Browse the repository at this point in the history
  • Loading branch information
andyone committed May 26, 2020
1 parent 0860225 commit fffb10d
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 14 deletions.
6 changes: 1 addition & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
language: go

go:
- 1.10.x
- 1.11.x
- 1.12.x
- 1.13.x
- 1.14.x
- tip

branches:
Expand All @@ -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
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Changelog

### 10.0.0

* `ek` package updated to v12

---

### 9.0.0

* `ek` package updated to v11
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 {} \;
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<p align="center"><a href="#readme"><img src="https://gh.kaos.st/go-librato.svg"/></a></p>

<p align="center">
<a href="https://godoc.org/pkg.re/essentialkaos/librato.v8"><img src="https://godoc.org/pkg.re/essentialkaos/librato.v8?status.svg"></a>
<a href="https://godoc.org/pkg.re/essentialkaos/librato.v10"><img src="https://godoc.org/pkg.re/essentialkaos/librato.v10?status.svg"></a>
<a href="https://travis-ci.com/essentialkaos/librato"><img src="https://travis-ci.com/essentialkaos/librato.svg"></a>
<a href="https://goreportcard.com/report/github.com/essentialkaos/librato"><img src="https://goreportcard.com/badge/github.com/essentialkaos/librato"></a>
<a href="https://codebeat.co/projects/github-com-essentialkaos-librato"><img alt="codebeat badge" src="https://codebeat.co/badges/f82e704d-67a7-4c6f-9e5d-1acf058c937b" /></a>
Expand All @@ -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
Expand Down
8 changes: 4 additions & 4 deletions librato.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package librato

// ////////////////////////////////////////////////////////////////////////////////// //
// //
// Copyright (c) 2009-2019 ESSENTIAL KAOS //
// Copyright (c) 2009-2020 ESSENTIAL KAOS //
// Essential Kaos Open Source License <https://essentialkaos.com/ekol> //
// //
// ////////////////////////////////////////////////////////////////////////////////// //
Expand All @@ -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"

// ////////////////////////////////////////////////////////////////////////////////// //

Expand Down

0 comments on commit fffb10d

Please sign in to comment.