diff --git a/go.mod b/go.mod index 208c120b1a568cbaf999a06fea637b2987e83bd5..165c96aecfe53e413a79809a61f38a94ac8b4f0c 100644 --- a/go.mod +++ b/go.mod @@ -7,6 +7,7 @@ require ( github.com/cenkalti/backoff/v4 v4.1.3 github.com/google/uuid v1.3.0 github.com/kelseyhightower/envconfig v1.4.0 + github.com/stretchr/testify v1.7.0 go.mongodb.org/mongo-driver v1.8.4 go.uber.org/zap v1.21.0 goa.design/goa/v3 v3.7.0 @@ -14,6 +15,7 @@ require ( ) require ( + github.com/davecgh/go-spew v1.1.1 // indirect github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect github.com/dimfeld/httptreemux/v5 v5.4.0 // indirect github.com/go-stack/stack v1.8.0 // indirect @@ -25,6 +27,7 @@ require ( github.com/klauspost/compress v1.13.6 // indirect github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // indirect github.com/pkg/errors v0.9.1 // indirect + github.com/pmezard/go-difflib v1.0.0 // indirect github.com/sergi/go-diff v1.2.0 // indirect github.com/smartystreets/assertions v1.2.1 // indirect github.com/xdg-go/pbkdf2 v1.0.0 // indirect @@ -41,4 +44,5 @@ require ( golang.org/x/tools v0.1.10 // indirect golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1 // indirect gopkg.in/yaml.v2 v2.4.0 // indirect + gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b // indirect ) diff --git a/vendor/code.vereign.com/gaiax/tsa/golib/ptr/ptr.go b/vendor/code.vereign.com/gaiax/tsa/golib/ptr/ptr.go new file mode 100644 index 0000000000000000000000000000000000000000..fd522b7a70d7449dccc01ee3b2b3181eb9e7600e Binary files /dev/null and b/vendor/code.vereign.com/gaiax/tsa/golib/ptr/ptr.go differ diff --git a/vendor/github.com/davecgh/go-spew/LICENSE b/vendor/github.com/davecgh/go-spew/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..bc52e96f2b0ea97cc450e2fefbbb4cc430d1ac5a Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/LICENSE differ diff --git a/vendor/github.com/davecgh/go-spew/spew/bypass.go b/vendor/github.com/davecgh/go-spew/spew/bypass.go new file mode 100644 index 0000000000000000000000000000000000000000..792994785e36ca74c5545a0d93a2cdecda006678 Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/bypass.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go new file mode 100644 index 0000000000000000000000000000000000000000..205c28d68c474e4497e6aa1ce8b9fdeb260f4586 Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/bypasssafe.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/common.go b/vendor/github.com/davecgh/go-spew/spew/common.go new file mode 100644 index 0000000000000000000000000000000000000000..1be8ce9457612e02a64c01b2321d087ebd6415f2 Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/common.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/config.go b/vendor/github.com/davecgh/go-spew/spew/config.go new file mode 100644 index 0000000000000000000000000000000000000000..2e3d22f312026ff2c863bbffcbc88b7f6fb942f5 Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/config.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/doc.go b/vendor/github.com/davecgh/go-spew/spew/doc.go new file mode 100644 index 0000000000000000000000000000000000000000..aacaac6f1e1e936ee0022c00e139756c9bdc2b3e Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/doc.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/dump.go b/vendor/github.com/davecgh/go-spew/spew/dump.go new file mode 100644 index 0000000000000000000000000000000000000000..f78d89fc1f6c454df58cd1e346817db6e30c4299 Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/dump.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/format.go b/vendor/github.com/davecgh/go-spew/spew/format.go new file mode 100644 index 0000000000000000000000000000000000000000..b04edb7d7ac278ae0b873a1335f37822a00bfd7c Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/format.go differ diff --git a/vendor/github.com/davecgh/go-spew/spew/spew.go b/vendor/github.com/davecgh/go-spew/spew/spew.go new file mode 100644 index 0000000000000000000000000000000000000000..32c0e338825308f6b9b4d0407aa5682a23e2dc9c Binary files /dev/null and b/vendor/github.com/davecgh/go-spew/spew/spew.go differ diff --git a/vendor/github.com/pmezard/go-difflib/LICENSE b/vendor/github.com/pmezard/go-difflib/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..c67dad612a3dfca2b84599c640798d7be7d46728 Binary files /dev/null and b/vendor/github.com/pmezard/go-difflib/LICENSE differ diff --git a/vendor/github.com/pmezard/go-difflib/difflib/difflib.go b/vendor/github.com/pmezard/go-difflib/difflib/difflib.go new file mode 100644 index 0000000000000000000000000000000000000000..003e99fadb4f189565b409b9509ecf30b752d25a Binary files /dev/null and b/vendor/github.com/pmezard/go-difflib/difflib/difflib.go differ diff --git a/vendor/github.com/stretchr/testify/LICENSE b/vendor/github.com/stretchr/testify/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..4b0421cf9ee47908beae4b4648babb75b09ee028 Binary files /dev/null and b/vendor/github.com/stretchr/testify/LICENSE differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_compare.go b/vendor/github.com/stretchr/testify/assert/assertion_compare.go new file mode 100644 index 0000000000000000000000000000000000000000..41649d26792461a0e999695e0c91a15d72b5898a Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_compare.go differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go b/vendor/github.com/stretchr/testify/assert/assertion_format.go new file mode 100644 index 0000000000000000000000000000000000000000..4dfd1229a8617f401e11efa0ad461447f31c1b3e Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_format.go differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..d2bb0b81778858c364f4b3694c00cdd4c72b1c5b Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_format.go.tmpl differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go b/vendor/github.com/stretchr/testify/assert/assertion_forward.go new file mode 100644 index 0000000000000000000000000000000000000000..25337a6f07e6e05f3f29e5493cc2ba71cc474abb Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_forward.go differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl new file mode 100644 index 0000000000000000000000000000000000000000..188bb9e174397295062da708cc9f5207e2331768 Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_forward.go.tmpl differ diff --git a/vendor/github.com/stretchr/testify/assert/assertion_order.go b/vendor/github.com/stretchr/testify/assert/assertion_order.go new file mode 100644 index 0000000000000000000000000000000000000000..1c3b47182a726afbfb1890c5119144bad1bcf8c9 Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertion_order.go differ diff --git a/vendor/github.com/stretchr/testify/assert/assertions.go b/vendor/github.com/stretchr/testify/assert/assertions.go new file mode 100644 index 0000000000000000000000000000000000000000..bcac4401f57fb271d4a0909e607d56d51c606e59 Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/assertions.go differ diff --git a/vendor/github.com/stretchr/testify/assert/doc.go b/vendor/github.com/stretchr/testify/assert/doc.go new file mode 100644 index 0000000000000000000000000000000000000000..c9dccc4d6cd0aad89a9ecf638d8cde1ea043a37a Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/doc.go differ diff --git a/vendor/github.com/stretchr/testify/assert/errors.go b/vendor/github.com/stretchr/testify/assert/errors.go new file mode 100644 index 0000000000000000000000000000000000000000..ac9dc9d1d6156b64c31ac0b130e7a2b1ca86f06d Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/errors.go differ diff --git a/vendor/github.com/stretchr/testify/assert/forward_assertions.go b/vendor/github.com/stretchr/testify/assert/forward_assertions.go new file mode 100644 index 0000000000000000000000000000000000000000..df189d2348f17a3d16888e2581d2a3b7a9d47e93 Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/forward_assertions.go differ diff --git a/vendor/github.com/stretchr/testify/assert/http_assertions.go b/vendor/github.com/stretchr/testify/assert/http_assertions.go new file mode 100644 index 0000000000000000000000000000000000000000..4ed341dd28934c102aa7a40c74ee24b6555c1db1 Binary files /dev/null and b/vendor/github.com/stretchr/testify/assert/http_assertions.go differ diff --git a/vendor/gopkg.in/yaml.v3/LICENSE b/vendor/gopkg.in/yaml.v3/LICENSE new file mode 100644 index 0000000000000000000000000000000000000000..2683e4bb1f24c14aa2791e6d48ce0ecf3d8ab756 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/LICENSE differ diff --git a/vendor/gopkg.in/yaml.v3/NOTICE b/vendor/gopkg.in/yaml.v3/NOTICE new file mode 100644 index 0000000000000000000000000000000000000000..866d74a7ad79165312a2ce3904b4bdb53e6aedf7 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/NOTICE differ diff --git a/vendor/gopkg.in/yaml.v3/README.md b/vendor/gopkg.in/yaml.v3/README.md new file mode 100644 index 0000000000000000000000000000000000000000..08eb1babddfac3d8f4e006448496d0e0d1f8d720 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/README.md differ diff --git a/vendor/gopkg.in/yaml.v3/apic.go b/vendor/gopkg.in/yaml.v3/apic.go new file mode 100644 index 0000000000000000000000000000000000000000..ae7d049f182ae2419ded608e4c763487c99dff52 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/apic.go differ diff --git a/vendor/gopkg.in/yaml.v3/decode.go b/vendor/gopkg.in/yaml.v3/decode.go new file mode 100644 index 0000000000000000000000000000000000000000..df36e3a30f55508515759037e072f79fc9e9e969 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/decode.go differ diff --git a/vendor/gopkg.in/yaml.v3/emitterc.go b/vendor/gopkg.in/yaml.v3/emitterc.go new file mode 100644 index 0000000000000000000000000000000000000000..0f47c9ca8addf8e9d2e454e02842927ae825d0e9 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/emitterc.go differ diff --git a/vendor/gopkg.in/yaml.v3/encode.go b/vendor/gopkg.in/yaml.v3/encode.go new file mode 100644 index 0000000000000000000000000000000000000000..de9e72a3e638d166e96ceab3d77ce59afe6e6f8a Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/encode.go differ diff --git a/vendor/gopkg.in/yaml.v3/parserc.go b/vendor/gopkg.in/yaml.v3/parserc.go new file mode 100644 index 0000000000000000000000000000000000000000..ac66fccc059e3837d17e2a3a1bec5b6d5c398ab1 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/parserc.go differ diff --git a/vendor/gopkg.in/yaml.v3/readerc.go b/vendor/gopkg.in/yaml.v3/readerc.go new file mode 100644 index 0000000000000000000000000000000000000000..b7de0a89c462af605f889bc46ce165e5d4238add Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/readerc.go differ diff --git a/vendor/gopkg.in/yaml.v3/resolve.go b/vendor/gopkg.in/yaml.v3/resolve.go new file mode 100644 index 0000000000000000000000000000000000000000..64ae888057a5aa24c5a3a6ca0fcb08a06269e3ad Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/resolve.go differ diff --git a/vendor/gopkg.in/yaml.v3/scannerc.go b/vendor/gopkg.in/yaml.v3/scannerc.go new file mode 100644 index 0000000000000000000000000000000000000000..ca0070108f4ebe6a09a222075267e0ffca996e72 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/scannerc.go differ diff --git a/vendor/gopkg.in/yaml.v3/sorter.go b/vendor/gopkg.in/yaml.v3/sorter.go new file mode 100644 index 0000000000000000000000000000000000000000..9210ece7e97232891625ed08c549b92c0e9bb169 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/sorter.go differ diff --git a/vendor/gopkg.in/yaml.v3/writerc.go b/vendor/gopkg.in/yaml.v3/writerc.go new file mode 100644 index 0000000000000000000000000000000000000000..b8a116bf9a22b9911958f44904289a8c6b482bd2 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/writerc.go differ diff --git a/vendor/gopkg.in/yaml.v3/yaml.go b/vendor/gopkg.in/yaml.v3/yaml.go new file mode 100644 index 0000000000000000000000000000000000000000..8cec6da48d3ec4d8858ca622383c75e359faee1f Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/yaml.go differ diff --git a/vendor/gopkg.in/yaml.v3/yamlh.go b/vendor/gopkg.in/yaml.v3/yamlh.go new file mode 100644 index 0000000000000000000000000000000000000000..7c6d0077061933c97979f6c84cb659b17391e1a3 Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/yamlh.go differ diff --git a/vendor/gopkg.in/yaml.v3/yamlprivateh.go b/vendor/gopkg.in/yaml.v3/yamlprivateh.go new file mode 100644 index 0000000000000000000000000000000000000000..e88f9c54aecb54ed42665b2a08b66a4f03d999bc Binary files /dev/null and b/vendor/gopkg.in/yaml.v3/yamlprivateh.go differ diff --git a/vendor/modules.txt b/vendor/modules.txt index e4d7aa31821205e1e8eb7e7920a4d8185d08933e..a4f5adfeefcfa922f4b4ed8ddaa1c00660469c5c 100644 Binary files a/vendor/modules.txt and b/vendor/modules.txt differ