diff --git a/go.mod b/go.mod index 0d2aa35c..ff838f60 100644 --- a/go.mod +++ b/go.mod @@ -37,7 +37,7 @@ require ( github.com/multiformats/go-multistream v0.3.3 github.com/stretchr/testify v1.8.0 github.com/thejerf/suture/v4 v4.0.2 - github.com/wetware/casm v0.0.0-20220923194627-3ed9a66c8190 + github.com/wetware/casm v0.0.0-20220930214357-5cf501b9ce35 golang.org/x/sync v0.0.0-20220907140024-f12130a52804 gopkg.in/alexcesaro/statsd.v2 v2.0.0 ) diff --git a/go.sum b/go.sum index d1bc0c70..b2593f03 100644 --- a/go.sum +++ b/go.sum @@ -586,6 +586,8 @@ github.com/wetware/casm v0.0.0-20220922222301-64c2a34cb82e h1:IsKqMa14aOJbQlidJd github.com/wetware/casm v0.0.0-20220922222301-64c2a34cb82e/go.mod h1:yM2HhRvaf15jQfL4HVoom4Mnm44tBRX5OUN4CHv4UMI= github.com/wetware/casm v0.0.0-20220923194627-3ed9a66c8190 h1:s9jZMEIJF50j3Fd8NDLMC0DbUVyw30rylUegMBFJwn0= github.com/wetware/casm v0.0.0-20220923194627-3ed9a66c8190/go.mod h1:30Kp/rqB1vMVVLn8IvGvUgBn0txMbn5gC9sL6nAZ7F8= +github.com/wetware/casm v0.0.0-20220930214357-5cf501b9ce35 h1:VK52GZT0PcKwzd7bYWoCYVAmkGnJNS7wxeUw3HGGQZk= +github.com/wetware/casm v0.0.0-20220930214357-5cf501b9ce35/go.mod h1:30Kp/rqB1vMVVLn8IvGvUgBn0txMbn5gC9sL6nAZ7F8= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1 h1:EKhdznlJHPMoKr0XTrX+IlJs1LH3lyx2nfr1dOlZ79k= github.com/whyrusleeping/go-keyspace v0.0.0-20160322163242-5b898ac5add1/go.mod h1:8UvriyWtv5Q5EOgjHaSseUEdkQfvwFv1I/In/O2M9gc= github.com/whyrusleeping/timecache v0.0.0-20160911033111-cfcb2f1abfee h1:lYbXeSvJi5zk5GLKVuid9TVjS9a0OmLIDKTfoZBL6Ow= diff --git a/pkg/service/service_test.go b/pkg/service/service_test.go new file mode 100644 index 00000000..c1fb41b0 --- /dev/null +++ b/pkg/service/service_test.go @@ -0,0 +1,14 @@ +package service_test + +import "testing" + +func TestProvide(t *testing.T) { + provider, locator := setup(t) + +} + +func TestFindProviders(t *testing.T) { + +} + +func setup(t *testing.T) (service.DiscoveryService, )