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

Commit

Permalink
Merge pull request #4 from cloudant-labs/prepare-0.1.0-release
Browse files Browse the repository at this point in the history
Prepare 0.1.0 release
  • Loading branch information
smithsz authored Feb 8, 2018
2 parents b079264 + 286a98f commit 910dd6b
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# 0.1.0 (2018-02-08)

- Initial release.
4 changes: 4 additions & 0 deletions pool.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"io/ioutil"
"math/rand"
"net/http"
"runtime"
"time"
)

Expand Down Expand Up @@ -128,6 +129,9 @@ func (w *worker) start() {

job.request.Body = ioutil.NopCloser(bytes.NewReader(job.bodyBytes))

// add go-cloudant UA
job.request.Header.Add("User-Agent", "go-cloudant/"+VERSION+"/"+runtime.Version())

resp, err := worker.client.httpClient.Do(job.request)

var retry bool
Expand Down
5 changes: 5 additions & 0 deletions version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package cloudant

const (
VERSION = "0.1.0"
)

0 comments on commit 910dd6b

Please sign in to comment.