Merge branch 'optional-namespace-scope' into 'main'
Make the namespace and scope fields optional when setting and getting values from cache See merge request !4
No related branches found
No related tags found
Showing
- README.md 15 additions, 8 deletionsREADME.md
- design/types.go 2 additions, 2 deletionsdesign/types.go
- gen/cache/service.go 4 additions, 4 deletionsgen/cache/service.go
- gen/http/cache/client/cli.go 16 additions, 8 deletionsgen/http/cache/client/cli.go
- gen/http/cache/client/encode_decode.go 8 additions, 8 deletionsgen/http/cache/client/encode_decode.go
- gen/http/cache/server/encode_decode.go 16 additions, 16 deletionsgen/http/cache/server/encode_decode.go
- gen/http/cache/server/types.go 2 additions, 2 deletionsgen/http/cache/server/types.go
- gen/http/cli/cache/cli.go 4 additions, 4 deletionsgen/http/cli/cache/cli.go
- gen/http/openapi.json 1 addition, 1 deletiongen/http/openapi.json
- gen/http/openapi.yaml 4 additions, 4 deletionsgen/http/openapi.yaml
- gen/http/openapi3.json 1 addition, 1 deletiongen/http/openapi3.json
- gen/http/openapi3.yaml 0 additions, 4 deletionsgen/http/openapi3.yaml
- go.mod 4 additions, 0 deletionsgo.mod
- internal/service/cache/cachefakes/fake_cache.go 205 additions, 0 deletionsinternal/service/cache/cachefakes/fake_cache.go
- internal/service/cache/service.go 44 additions, 19 deletionsinternal/service/cache/service.go
- internal/service/cache/service_test.go 185 additions, 0 deletionsinternal/service/cache/service_test.go
- vendor/code.vereign.com/gaiax/tsa/golib/ptr/ptr.go 0 additions, 0 deletionsvendor/code.vereign.com/gaiax/tsa/golib/ptr/ptr.go
- vendor/github.com/davecgh/go-spew/LICENSE 0 additions, 0 deletionsvendor/github.com/davecgh/go-spew/LICENSE
- vendor/github.com/davecgh/go-spew/spew/bypass.go 0 additions, 0 deletionsvendor/github.com/davecgh/go-spew/spew/bypass.go
- vendor/github.com/davecgh/go-spew/spew/bypasssafe.go 0 additions, 0 deletionsvendor/github.com/davecgh/go-spew/spew/bypasssafe.go
... | ... | @@ -6,6 +6,7 @@ require ( |
code.vereign.com/gaiax/tsa/golib v0.0.0-20220321093827-5fdf8f34aad9 | ||
github.com/go-redis/redis/v8 v8.11.5 | ||
github.com/kelseyhightower/envconfig v1.4.0 | ||
github.com/stretchr/testify v1.7.0 | ||
go.uber.org/zap v1.21.0 | ||
goa.design/goa/v3 v3.7.0 | ||
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c | ||
... | ... | @@ -13,6 +14,7 @@ require ( |
require ( | ||
github.com/cespare/xxhash/v2 v2.1.2 // indirect | ||
github.com/davecgh/go-spew v1.1.1 // indirect | ||
github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect | ||
github.com/dimfeld/httppath v0.0.0-20170720192232-ee938bf73598 // indirect | ||
github.com/dimfeld/httptreemux/v5 v5.4.0 // indirect | ||
... | ... | @@ -21,6 +23,7 @@ require ( |
github.com/gorilla/websocket v1.5.0 // indirect | ||
github.com/jtolds/gls v4.20.0+incompatible // indirect | ||
github.com/manveru/faker v0.0.0-20171103152722-9fbc68a78c4d // 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/zach-klippenstein/goregen v0.0.0-20160303162051-795b5e3961ea // indirect | ||
... | ... | @@ -31,4 +34,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 | ||
) |
internal/service/cache/service_test.go
0 → 100644
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
vendor/github.com/davecgh/go-spew/LICENSE
0 → 100644
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
File suppressed by a .gitattributes entry or the file's encoding is unsupported.
Please register or sign in to comment