From 4c752574fe6a139d804fb22e63892b9a1e2c294b Mon Sep 17 00:00:00 2001 From: Denys Smirnov Date: Sat, 14 Apr 2018 17:28:55 +0200 Subject: [PATCH] switch from glide to dep --- .travis.yml | 5 +- Dockerfile | 6 +- Gopkg.lock | 408 +++++++++++++++++++++++++++++++++++++++++++ Gopkg.toml | 36 ++++ docs/Contributing.md | 18 +- glide.lock | 189 -------------------- glide.yaml | 53 ------ 7 files changed, 462 insertions(+), 253 deletions(-) create mode 100644 Gopkg.lock create mode 100644 Gopkg.toml delete mode 100644 glide.lock delete mode 100644 glide.yaml diff --git a/.travis.yml b/.travis.yml index f2ea63271..8760a707c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -9,9 +9,8 @@ go: install: # Install our tracked dependencies - go get -t ./... - - curl -L https://github.com/Masterminds/glide/releases/download/v0.12.3/glide-v0.12.3-linux-amd64.tar.gz -o /tmp/glide.tar.gz - - mkdir ../glide && cd ../glide && tar -xzf /tmp/glide.tar.gz && export PATH=$PATH:$PWD/linux-amd64/ && cd ../cayley - - glide install + - mkdir ../dep && curl -L https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o ../dep/dep && chmod +x ../dep/dep && export PATH=$PATH:$PWD/../dep/ + - dep ensure --vendor-only # Google App Engine dependencies # - cd .. diff --git a/Dockerfile b/Dockerfile index a7c665e04..724461b68 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,9 +4,9 @@ FROM golang:1.9 as builder WORKDIR /go/src/github.com/cayleygraph/cayley # Restore vendored dependencies -RUN sh -c "curl https://glide.sh/get | sh" -COPY glide.* ./ -RUN glide install +RUN curl https://github.com/golang/dep/releases/download/v0.4.1/dep-linux-amd64 -o /usr/local/bin/dep && \ + chmod +x /usr/local/bin/dep +RUN dep ensure --vendor-only # This will be used to init cayley and as config file in the final image. # Make sure you start every path with %PREFIX% to make it available in both diff --git a/Gopkg.lock b/Gopkg.lock new file mode 100644 index 000000000..16ab411f6 --- /dev/null +++ b/Gopkg.lock @@ -0,0 +1,408 @@ +# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'. + + +[[projects]] + branch = "master" + name = "github.com/badgerodon/peg" + packages = ["."] + revision = "9e5f7f4d07ca576562618c23e8abadda278b684f" + +[[projects]] + name = "github.com/boltdb/bolt" + packages = ["."] + revision = "e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd" + +[[projects]] + name = "github.com/cznic/mathutil" + packages = ["."] + revision = "1447ad269d64ca91aa8d7079baa40b6fc8b965e7" + +[[projects]] + name = "github.com/davecgh/go-spew" + packages = ["spew"] + revision = "346938d642f2ec3594ed81d874461961cd0faa76" + version = "v1.1.0" + +[[projects]] + branch = "master" + name = "github.com/dennwc/graphql" + packages = [ + "gqlerrors", + "language/ast", + "language/kinds", + "language/lexer", + "language/location", + "language/parser", + "language/source" + ] + revision = "5cf1f05cb1945ca40ca374e21ccf26f01fc67d10" + +[[projects]] + name = "github.com/dlclark/regexp2" + packages = [ + ".", + "syntax" + ] + revision = "902a5ce7a7812e2ba9f73b9d96c09d5136df39cd" + version = "v1.1.4" + +[[projects]] + name = "github.com/dop251/goja" + packages = [ + ".", + "ast", + "file", + "parser", + "token" + ] + revision = "613f33eefdee5996ef938043efe8f1a9955fb8cc" + +[[projects]] + name = "github.com/flimzy/kivik" + packages = [ + ".", + "driver", + "errors" + ] + revision = "b5feaa5fff611396d56e55f982e1d8c0d728128b" + version = "v1.7.3" + +[[projects]] + name = "github.com/fsnotify/fsnotify" + packages = ["."] + revision = "4da3e2cfbabc9f751898f250b49f2439785783a1" + +[[projects]] + name = "github.com/go-kivik/couchdb" + packages = [ + ".", + "chttp" + ] + revision = "74d231fe43245e77840213724894264f0f61ffd3" + +[[projects]] + name = "github.com/go-kivik/kivik" + packages = [ + ".", + "driver", + "errors" + ] + revision = "2a1f6b9dd407886bc59c0c28faed28fbce3b0ece" + +[[projects]] + name = "github.com/go-kivik/pouchdb" + packages = [ + ".", + "bindings" + ] + revision = "c0c4a7fa261c7496aa749f00321016b6880b01f0" + version = "v1.3.4" + +[[projects]] + name = "github.com/go-sql-driver/mysql" + packages = ["."] + revision = "147bd02c2c516cf9a8878cb75898ee8a9eea0228" + +[[projects]] + name = "github.com/gogo/protobuf" + packages = [ + "gogoproto", + "proto", + "protoc-gen-gogo/descriptor", + "sortkeys", + "test", + "test/custom", + "test/custom-dash-type" + ] + revision = "30433562cfbf487fe1df7cd26c7bab168d2f14d0" + +[[projects]] + branch = "master" + name = "github.com/golang/glog" + packages = ["."] + revision = "23def4e6c14b4da8ac2ed8007337bc5eb5007998" + +[[projects]] + name = "github.com/golang/protobuf" + packages = ["proto"] + revision = "18c9bb3261723cd5401db4d0c9fbc5c3b6c70fe8" + +[[projects]] + branch = "master" + name = "github.com/golang/snappy" + packages = ["."] + revision = "553a641470496b2327abcac10b36396bd98e45c9" + +[[projects]] + branch = "master" + name = "github.com/gopherjs/gopherjs" + packages = ["js"] + revision = "558a9132744c22476178edf3126fd35a9754f565" + +[[projects]] + branch = "master" + name = "github.com/gopherjs/jsbuiltin" + packages = ["."] + revision = "67703bfb044e3192fbcab025c3aeaeedafad1f2f" + +[[projects]] + name = "github.com/hashicorp/hcl" + packages = [ + ".", + "hcl/ast", + "hcl/parser", + "hcl/scanner", + "hcl/strconv", + "hcl/token", + "json/parser", + "json/scanner", + "json/token" + ] + revision = "7fa7fff964d035e8a162cce3a164b3ad02ad651b" + +[[projects]] + name = "github.com/imdario/mergo" + packages = ["."] + revision = "0d4b488675fdec1dde48751b05ab530cf0b630e1" + +[[projects]] + name = "github.com/inconshreveable/mousetrap" + packages = ["."] + revision = "76626ae9c91c4f2a10f34cad8ce83ea42c93bb75" + version = "v1.0" + +[[projects]] + name = "github.com/jackc/pgx" + packages = [ + ".", + "chunkreader", + "internal/sanitize", + "pgio", + "pgproto3", + "pgtype", + "stdlib" + ] + revision = "606697ffdfe6603013560dbc171656de57b4f542" + +[[projects]] + name = "github.com/julienschmidt/httprouter" + packages = ["."] + revision = "6f3f3919c8781ce5c0509c83fffc887a7830c938" + +[[projects]] + name = "github.com/lib/pq" + packages = [ + ".", + "oid" + ] + revision = "2704adc878c21e1329f46f6e56a1c387d788ff94" + +[[projects]] + branch = "master" + name = "github.com/linkeddata/gojsonld" + packages = ["."] + revision = "4f5db6791326b8962ede4edbba693edcf20fd1ad" + +[[projects]] + name = "github.com/magiconair/properties" + packages = ["."] + revision = "51463bfca2576e06c62a8504b5c0f06d61312647" + +[[projects]] + name = "github.com/mitchellh/mapstructure" + packages = ["."] + revision = "cc8532a8e9a55ea36402aa21efdf403a60d34096" + +[[projects]] + name = "github.com/pborman/uuid" + packages = ["."] + revision = "1b00554d822231195d1babd97ff4a781231955c9" + +[[projects]] + name = "github.com/pelletier/go-buffruneio" + packages = ["."] + revision = "c37440a7cf42ac63b919c752ca73a85067e05992" + version = "v0.2.0" + +[[projects]] + name = "github.com/pelletier/go-toml" + packages = ["."] + revision = "fe206efb84b2bc8e8cfafe6b4c1826622be969e3" + +[[projects]] + name = "github.com/peterh/liner" + packages = ["."] + revision = "88609521dc4b6c858fd4c98b628147da928ce4ac" + +[[projects]] + name = "github.com/pkg/errors" + packages = ["."] + revision = "e881fd58d78e04cf6d0de1217f8707c8cc2249bc" + +[[projects]] + name = "github.com/pmezard/go-difflib" + packages = ["difflib"] + revision = "d8ed2627bdf02c080bf22230dbb337003b7aba2d" + +[[projects]] + name = "github.com/russross/blackfriday" + packages = ["."] + revision = "b253417e1cb644d645a0a3bb1fa5034c8030127c" + +[[projects]] + name = "github.com/shurcooL/sanitized_anchor_name" + packages = ["."] + revision = "79c90efaf01eddc01945af5bc1797859189b830b" + +[[projects]] + name = "github.com/spf13/afero" + packages = [ + ".", + "mem" + ] + revision = "9be650865eab0c12963d8753212f4f9c66cdcf12" + +[[projects]] + name = "github.com/spf13/cast" + packages = ["."] + revision = "acbeb36b902d72a7a4c18e8f3241075e7ab763e4" + version = "v1.1.0" + +[[projects]] + name = "github.com/spf13/cobra" + packages = ["."] + revision = "7b1b6e8dc027253d45fc029bc269d1c019f83a34" + +[[projects]] + name = "github.com/spf13/jwalterweatherman" + packages = ["."] + revision = "fa7ca7e836cf3a8bb4ebf799f472c12d7e903d66" + +[[projects]] + name = "github.com/spf13/pflag" + packages = ["."] + revision = "f1d95a35e132e8a1868023a08932b14f0b8b8fcb" + +[[projects]] + name = "github.com/spf13/viper" + packages = ["."] + revision = "0967fc9aceab2ce9da34061253ac10fb99bba5b2" + +[[projects]] + name = "github.com/stretchr/testify" + packages = [ + "assert", + "require" + ] + revision = "87b1dfb5b2fa649f52695dd9eae19abe404a4308" + +[[projects]] + name = "github.com/syndtr/goleveldb" + packages = [ + "leveldb", + "leveldb/cache", + "leveldb/comparer", + "leveldb/errors", + "leveldb/filter", + "leveldb/iterator", + "leveldb/journal", + "leveldb/memdb", + "leveldb/opt", + "leveldb/storage", + "leveldb/table", + "leveldb/util" + ] + revision = "b89cc31ef7977104127d34c1bd31ebd1a9db2199" + +[[projects]] + name = "github.com/tylertreat/BoomFilters" + packages = ["."] + revision = "b282640b93f349cd208f8d5921df2cfaf5780ee2" + +[[projects]] + name = "golang.org/x/net" + packages = [ + "context", + "idna", + "publicsuffix" + ] + revision = "da118f7b8e5954f39d0d2130ab35d4bf0e3cb344" + +[[projects]] + name = "golang.org/x/sys" + packages = ["unix"] + revision = "9ccfe848b9db8435a24c424abbc07a921adf1df5" + +[[projects]] + name = "golang.org/x/text" + packages = [ + "cases", + "collate", + "collate/build", + "internal", + "internal/colltab", + "internal/gen", + "internal/tag", + "internal/triegen", + "internal/ucd", + "language", + "secure/bidirule", + "transform", + "unicode/bidi", + "unicode/cldr", + "unicode/norm", + "unicode/rangetable" + ] + revision = "470f45bf29f4147d6fbd7dfd0a02a848e49f5bf4" + +[[projects]] + name = "google.golang.org/appengine" + packages = [ + ".", + "aetest", + "datastore", + "internal", + "internal/app_identity", + "internal/base", + "internal/datastore", + "internal/log", + "internal/modules", + "internal/remote_api", + "internal/user", + "user" + ] + revision = "170382fa85b10b94728989dfcf6cc818b335c952" + +[[projects]] + branch = "v2" + name = "gopkg.in/mgo.v2" + packages = [ + ".", + "bson", + "internal/json", + "internal/sasl", + "internal/scram" + ] + revision = "3f83fa5005286a7fe593b055f0d7771a7dce4655" + +[[projects]] + name = "gopkg.in/olivere/elastic.v5" + packages = [ + ".", + "config", + "uritemplates" + ] + revision = "79ff368708b3a2a9da641dc831d95fd0782bf4ef" + version = "v5.0.58" + +[[projects]] + name = "gopkg.in/yaml.v2" + packages = ["."] + revision = "cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b" + +[solve-meta] + analyzer-name = "dep" + analyzer-version = 1 + inputs-digest = "cb7d4a35c23ae602fd4b563fda885450c3ae8640c96cfc0afb2499f02f2240c6" + solver-name = "gps-cdcl" + solver-version = 1 diff --git a/Gopkg.toml b/Gopkg.toml new file mode 100644 index 000000000..f2fd4cdf1 --- /dev/null +++ b/Gopkg.toml @@ -0,0 +1,36 @@ +# Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md +# for detailed Gopkg.toml documentation. + +ignored = ["github.com/cayleygraph/cayley/internal/dock"] + +[[constraint]] + branch = "master" + name = "github.com/badgerodon/peg" + +[[constraint]] + branch = "master" + name = "github.com/dennwc/graphql" + +[[constraint]] + name = "github.com/go-kivik/pouchdb" + version = "1.3.4" + +[[constraint]] + branch = "master" + name = "github.com/golang/glog" + +[[constraint]] + branch = "master" + name = "github.com/linkeddata/gojsonld" + +[[constraint]] + branch = "v2" + name = "gopkg.in/mgo.v2" + +[[constraint]] + name = "gopkg.in/olivere/elastic.v5" + version = "5.0.58" + +[prune] + go-tests = true + unused-packages = true diff --git a/docs/Contributing.md b/docs/Contributing.md index 7bf2f016e..b33d05f7c 100644 --- a/docs/Contributing.md +++ b/docs/Contributing.md @@ -5,15 +5,23 @@ Join our community on [discourse.cayley.io](https://discourse.cayley.io) or othe # Simply building Cayley ``` +# setup GOPATH mkdir -p ~/cayley && cd ~/cayley export GOPATH=`pwd` export PATH=$PATH:~/cayley/bin -mkdir -p bin pkg src/github.com/cayleygraph +mkdir -p bin pkg + +# clone project +mkdir -p src/github.com/cayleygraph cd src/github.com/cayleygraph git clone https://github.com/cayleygraph/cayley cd cayley -curl https://glide.sh/get | sh -glide install + +# download dependencies +curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh +dep ensure --vendor-only + +# build the binary go build ./cmd/cayley ``` @@ -60,8 +68,8 @@ With that in place, that folder will reflect your local fork, be able to take ch For iterating, it can be helpful to, from the directory, run ``` -curl https://glide.sh/get | sh -glide install +curl https://raw.githubusercontent.com/golang/dep/master/install.sh | sh +dep ensure --vendor-only go build ./cmd/cayley && ./cayley ``` diff --git a/glide.lock b/glide.lock deleted file mode 100644 index 299a6f944..000000000 --- a/glide.lock +++ /dev/null @@ -1,189 +0,0 @@ -hash: 4b101ef8e679e7244213b145345c40c7ea60ea87b514157ef7f91c9162d8f9c0 -updated: 2017-04-28T23:58:33.876694576-07:00 -imports: -- name: github.com/badgerodon/peg - version: 9e5f7f4d07ca576562618c23e8abadda278b684f -- name: github.com/boltdb/bolt - version: e9cf4fae01b5a8ff89d0ec6b32f0d9c9f79aefdd -- name: github.com/cznic/mathutil - version: 1447ad269d64ca91aa8d7079baa40b6fc8b965e7 -- name: github.com/davecgh/go-spew - version: 2df174808ee097f90d259e432cc04442cf60be21 - subpackages: - - spew -- name: github.com/dennwc/graphql - version: 5cf1f05cb1945ca40ca374e21ccf26f01fc67d10 - subpackages: - - gqlerrors - - language/ast - - language/lexer - - language/parser - - language/location - - language/source - - language/kinds -- name: github.com/dlclark/regexp2 - version: 902a5ce7a7812e2ba9f73b9d96c09d5136df39cd - subpackages: - - syntax -- name: github.com/dop251/goja - version: 613f33eefdee5996ef938043efe8f1a9955fb8cc - subpackages: - - ast - - file - - parser - - token -- name: github.com/fsnotify/fsnotify - version: 4da3e2cfbabc9f751898f250b49f2439785783a1 -- name: github.com/go-sql-driver/mysql - version: 147bd02c2c516cf9a8878cb75898ee8a9eea0228 -- name: github.com/gogo/protobuf - version: 30433562cfbf487fe1df7cd26c7bab168d2f14d0 - subpackages: - - proto - - gogoproto - - protoc-gen-gogo/descriptor -- name: github.com/golang/glog - version: 23def4e6c14b4da8ac2ed8007337bc5eb5007998 -- name: github.com/golang/protobuf - version: 18c9bb3261723cd5401db4d0c9fbc5c3b6c70fe8 - subpackages: - - proto -- name: github.com/golang/snappy - version: 553a641470496b2327abcac10b36396bd98e45c9 -- name: github.com/hashicorp/hcl - version: 7fa7fff964d035e8a162cce3a164b3ad02ad651b - subpackages: - - hcl/ast - - hcl/parser - - hcl/token - - json/parser - - hcl/scanner - - hcl/strconv - - json/scanner - - json/token -- name: github.com/inconshreveable/mousetrap - version: 76626ae9c91c4f2a10f34cad8ce83ea42c93bb75 -- name: github.com/jackc/pgx - version: 606697ffdfe6603013560dbc171656de57b4f542 -- name: github.com/julienschmidt/httprouter - version: 6f3f3919c8781ce5c0509c83fffc887a7830c938 -- name: github.com/lib/pq - version: 2704adc878c21e1329f46f6e56a1c387d788ff94 - subpackages: - - oid -- name: github.com/linkeddata/gojsonld - version: 4f5db6791326b8962ede4edbba693edcf20fd1ad -- name: github.com/magiconair/properties - version: 51463bfca2576e06c62a8504b5c0f06d61312647 -- name: github.com/mitchellh/mapstructure - version: cc8532a8e9a55ea36402aa21efdf403a60d34096 -- name: github.com/pborman/uuid - version: 1b00554d822231195d1babd97ff4a781231955c9 -- name: github.com/pelletier/go-buffruneio - version: c37440a7cf42ac63b919c752ca73a85067e05992 -- name: github.com/pelletier/go-toml - version: fe206efb84b2bc8e8cfafe6b4c1826622be969e3 -- name: github.com/peterh/liner - version: 88609521dc4b6c858fd4c98b628147da928ce4ac -- name: github.com/pmezard/go-difflib - version: d8ed2627bdf02c080bf22230dbb337003b7aba2d - subpackages: - - difflib -- name: github.com/robertkrimen/otto - version: 21ec96599b1279b5673e4df0097dd56bb8360068 - subpackages: - - underscore -- name: github.com/russross/blackfriday - version: b253417e1cb644d645a0a3bb1fa5034c8030127c -- name: github.com/shurcooL/sanitized_anchor_name - version: 79c90efaf01eddc01945af5bc1797859189b830b -- name: github.com/spf13/afero - version: 9be650865eab0c12963d8753212f4f9c66cdcf12 - subpackages: - - mem -- name: github.com/spf13/cast - version: acbeb36b902d72a7a4c18e8f3241075e7ab763e4 -- name: github.com/spf13/cobra - version: 7b1b6e8dc027253d45fc029bc269d1c019f83a34 -- name: github.com/spf13/jwalterweatherman - version: fa7ca7e836cf3a8bb4ebf799f472c12d7e903d66 -- name: github.com/spf13/pflag - version: f1d95a35e132e8a1868023a08932b14f0b8b8fcb -- name: github.com/spf13/viper - version: 0967fc9aceab2ce9da34061253ac10fb99bba5b2 -- name: github.com/stretchr/testify - version: 87b1dfb5b2fa649f52695dd9eae19abe404a4308 - subpackages: - - assert - - require -- name: github.com/syndtr/goleveldb - version: b89cc31ef7977104127d34c1bd31ebd1a9db2199 - subpackages: - - leveldb - - leveldb/iterator - - leveldb/opt - - leveldb/util - - leveldb/cache - - leveldb/comparer - - leveldb/errors - - leveldb/filter - - leveldb/journal - - leveldb/memdb - - leveldb/storage - - leveldb/table -- name: github.com/syndtr/gosnappy - version: 156a073208e131d7d2e212cb749feae7c339e846 - subpackages: - - snappy -- name: github.com/tylertreat/BoomFilters - version: b282640b93f349cd208f8d5921df2cfaf5780ee2 -- name: golang.org/x/net - version: da118f7b8e5954f39d0d2130ab35d4bf0e3cb344 - subpackages: - - context -- name: golang.org/x/sys - version: 9ccfe848b9db8435a24c424abbc07a921adf1df5 - subpackages: - - unix -- name: golang.org/x/text - version: 470f45bf29f4147d6fbd7dfd0a02a848e49f5bf4 - subpackages: - - cases - - collate - - language - - unicode/norm - - transform - - internal - - internal/colltab - - internal/tag -- name: google.golang.org/appengine - version: 170382fa85b10b94728989dfcf6cc818b335c952 - subpackages: - - datastore - - internal - - internal/app_identity - - internal/modules - - internal/datastore - - internal/base - - internal/log - - internal/remote_api -- name: gopkg.in/mgo.v2 - version: 3f83fa5005286a7fe593b055f0d7771a7dce4655 - subpackages: - - bson - - internal/sasl - - internal/scram - - internal/json -- name: gopkg.in/yaml.v2 - version: cd8b52f8269e0feb286dfeef29f8fe4d5b397e0b -- name: gopkg.in/olivere/elastic.v5 - version: 79ff368708b3a2a9da641dc831d95fd0782bf4ef -- name: github.com/go-kivik/couchdb - version: 74d231fe43245e77840213724894264f0f61ffd3 -- name: github.com/go-kivik/kivik - version: 2a1f6b9dd407886bc59c0c28faed28fbce3b0ece -- name: github.com/imdario/mergo - version: 0d4b488675fdec1dde48751b05ab530cf0b630e1 -- name: github.com/pkg/errors - version: e881fd58d78e04cf6d0de1217f8707c8cc2249bc -devImports: [] diff --git a/glide.yaml b/glide.yaml deleted file mode 100644 index c6f19ac42..000000000 --- a/glide.yaml +++ /dev/null @@ -1,53 +0,0 @@ -package: github.com/cayleygraph/cayley -excludeDirs: -- internal/dock -import: -- package: github.com/badgerodon/peg -- package: github.com/golang/glog -- package: github.com/boltdb/bolt -- package: github.com/cznic/mathutil -- package: github.com/gogo/protobuf - subpackages: - - proto - - gogoproto -- package: github.com/julienschmidt/httprouter -- package: github.com/lib/pq -- package: github.com/pborman/uuid -- package: github.com/peterh/liner -- package: github.com/robertkrimen/otto - subpackages: - - underscore -- package: github.com/russross/blackfriday -- package: github.com/shurcooL/sanitized_anchor_name -- package: github.com/syndtr/goleveldb - subpackages: - - leveldb - - leveldb/iterator - - leveldb/opt - - leveldb/util -- package: github.com/syndtr/gosnappy - subpackages: - - snappy -- package: gopkg.in/olivere/elastic.v5 -- package: gopkg.in/mgo.v2 - subpackages: - - bson -- package: golang.org/x/net - subpackages: - - context -- package: github.com/stretchr/testify - version: v1.1.3 - subpackages: - - assert - - require -- package: github.com/linkeddata/gojsonld -- package: github.com/spf13/viper -- package: github.com/spf13/cobra -- package: github.com/dop251/goja -- package: github.com/go-sql-driver/mysql -- package: github.com/dennwc/graphql -- package: github.com/tylertreat/BoomFilters -- package: gopkg.in/olivere/elastic.v5 -- package: github.com/go-kivik/kivik -- package: github.com/go-kivik/couchdb -- package: github.com/jackc/pgx