From d25404bfd64d240d04c03dab52c57a47bd16250f Mon Sep 17 00:00:00 2001 From: Toby Padilla Date: Thu, 24 Apr 2025 18:31:11 -0600 Subject: [PATCH] fix: go.mod replace to reference local module We need to work in multiple orgs with different private repos, this is a temporary solution until we make the main repo public. --- go.mod | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 4174177..8a59528 100644 --- a/go.mod +++ b/go.mod @@ -3,6 +3,7 @@ module github.com/modelcontextprotocol/registry go 1.23.0 require ( + github.com/caarlos0/env/v11 v11.3.1 github.com/google/uuid v1.6.0 github.com/swaggo/files v1.0.1 github.com/swaggo/http-swagger v1.3.4 @@ -11,7 +12,6 @@ require ( require ( github.com/KyleBanks/depth v1.2.1 // indirect - github.com/caarlos0/env/v11 v11.3.1 // indirect github.com/go-openapi/jsonpointer v0.21.1 // indirect github.com/go-openapi/jsonreference v0.21.0 // indirect github.com/go-openapi/spec v0.21.0 // indirect @@ -33,3 +33,6 @@ require ( golang.org/x/tools v0.32.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect ) + +// temporary replace directive to use local version of the module so we can share in different orgs +replace github.com/modelcontextprotocol/registry => ./