-
Notifications
You must be signed in to change notification settings - Fork 811
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
samples: move go.mod into samples root, making samples its own module (…
…#2057) Updates #2048 - moves the go.mod file from samples/appengine to samples. Note the replace gocloud.dev => ../ added to the go.mod. Without this, running go test ./... in samples/ results in many errors like: can't load package: package gocloud.dev/samples/server: unknown import path "gocloud.dev/samples/server": ambiguous import: found gocloud.dev/samples/server in multiple modules: gocloud.dev/samples (/home/eliben/eli/go-cloud/samples/server) gocloud.dev v0.13.0 (/home/eliben/eli/go/pkg/mod/[email protected]/samples/server) The symptom and solution is explained by bcmills in ugorji/go#279 (which refers also to golang/go#27899). The new go.mod points to gocloud.dev v0.13, which also provides these packages - so the go command is confused - it sees the same package(s) provided by two different modules. The ugorji/go solution was to use a pseudo-version pointing at an existing commit in the core module which removes the packages - this removes the ambiguity. In our case, there is no existing commit yet - so I'm using a replace line. The replace line should be unnecessary when we release a new CDK version. This has interesting implications for #886 - we'll likely have to do the same when we split out providers to their own modules and retain replace lines until a new release.
- v0.40.0
- v0.39.0
- v0.38.0
- v0.37.0
- v0.36.0
- v0.35.0
- v0.34.0
- v0.33.0
- v0.32.0
- v0.31.0
- v0.30.0
- v0.29.0
- v0.28.0
- v0.27.0
- v0.26.0
- v0.25.0
- v0.24.0
- v0.23.0
- v0.22.0
- v0.21.0
- v0.20.0
- v0.19.0
- v0.18.0
- v0.17.0
- v0.16.0
- v0.15.0
- v0.14.0
- secrets/vault/v0.15.0
- secrets/hashivault/v0.40.0
- secrets/hashivault/v0.39.0
- secrets/hashivault/v0.38.0
- secrets/hashivault/v0.37.0
- secrets/hashivault/v0.36.0
- secrets/hashivault/v0.35.0
- secrets/hashivault/v0.34.0
- secrets/hashivault/v0.33.0
- secrets/hashivault/v0.32.0
- secrets/hashivault/v0.31.0
- secrets/hashivault/v0.30.0
- secrets/hashivault/v0.29.0
- secrets/hashivault/v0.28.0
- secrets/hashivault/v0.27.0
- secrets/hashivault/v0.26.0
- secrets/hashivault/v0.25.0
- secrets/hashivault/v0.24.0
- secrets/hashivault/v0.23.0
- secrets/hashivault/v0.22.0
- secrets/hashivault/v0.21.0
- secrets/hashivault/v0.20.0
- secrets/hashivault/v0.19.0
- secrets/hashivault/v0.18.0
- secrets/hashivault/v0.17.0
- secrets/hashivault/v0.16.0
- runtimevar/etcdvar/v0.40.0
- runtimevar/etcdvar/v0.39.0
- runtimevar/etcdvar/v0.38.0
- runtimevar/etcdvar/v0.37.0
- runtimevar/etcdvar/v0.36.0
- runtimevar/etcdvar/v0.35.0
- runtimevar/etcdvar/v0.34.0
- runtimevar/etcdvar/v0.33.0
- runtimevar/etcdvar/v0.32.0
- runtimevar/etcdvar/v0.31.0
- runtimevar/etcdvar/v0.30.0
- runtimevar/etcdvar/v0.29.0
- runtimevar/etcdvar/v0.28.0
- runtimevar/etcdvar/v0.27.0
- runtimevar/etcdvar/v0.20.0
- runtimevar/etcdvar/v0.19.0
- runtimevar/etcdvar/v0.18.0
- runtimevar/etcdvar/v0.17.0
- runtimevar/etcdvar/v0.16.0
- runtimevar/etcdvar/v0.15.0
- pubsub/rabbitpubsub/v0.40.0
- pubsub/rabbitpubsub/v0.39.0
- pubsub/rabbitpubsub/v0.38.0
- pubsub/rabbitpubsub/v0.37.0
- pubsub/rabbitpubsub/v0.36.0
- pubsub/rabbitpubsub/v0.35.0
- pubsub/rabbitpubsub/v0.34.0
- pubsub/rabbitpubsub/v0.33.0
- pubsub/rabbitpubsub/v0.32.0
- pubsub/rabbitpubsub/v0.31.0
- pubsub/rabbitpubsub/v0.30.0
- pubsub/rabbitpubsub/v0.29.0
- pubsub/rabbitpubsub/v0.28.0
- pubsub/rabbitpubsub/v0.27.0
- pubsub/rabbitpubsub/v0.26.0
- pubsub/rabbitpubsub/v0.25.0
- pubsub/rabbitpubsub/v0.24.0
- pubsub/rabbitpubsub/v0.23.0
- pubsub/rabbitpubsub/v0.22.0
- pubsub/rabbitpubsub/v0.21.0
- pubsub/rabbitpubsub/v0.20.0
- pubsub/rabbitpubsub/v0.19.0
- pubsub/rabbitpubsub/v0.18.0
- pubsub/rabbitpubsub/v0.17.0
- pubsub/rabbitpubsub/v0.16.0
- pubsub/rabbitpubsub/v0.15.0
- pubsub/natspubsub/v0.40.0
- pubsub/natspubsub/v0.39.0
- pubsub/natspubsub/v0.38.0
- pubsub/natspubsub/v0.37.0
- pubsub/natspubsub/v0.36.0
- pubsub/natspubsub/v0.35.0
- pubsub/natspubsub/v0.34.0
- pubsub/natspubsub/v0.33.0
- pubsub/natspubsub/v0.32.0
- pubsub/natspubsub/v0.31.0
- pubsub/natspubsub/v0.30.0
- pubsub/natspubsub/v0.29.0
- pubsub/natspubsub/v0.28.0
- pubsub/natspubsub/v0.27.0
- pubsub/natspubsub/v0.26.0
- pubsub/natspubsub/v0.25.0
- pubsub/natspubsub/v0.24.0
- pubsub/natspubsub/v0.23.0
- pubsub/natspubsub/v0.22.0
- pubsub/natspubsub/v0.21.0
- pubsub/natspubsub/v0.20.0
- pubsub/natspubsub/v0.19.0
- pubsub/natspubsub/v0.18.0
- pubsub/natspubsub/v0.17.0
- pubsub/natspubsub/v0.16.0
- pubsub/natspubsub/v0.15.0
- pubsub/kafkapubsub/v0.40.0
- pubsub/kafkapubsub/v0.39.0
- pubsub/kafkapubsub/v0.38.0
- pubsub/kafkapubsub/v0.37.0
- pubsub/kafkapubsub/v0.36.0
- pubsub/kafkapubsub/v0.35.0
- pubsub/kafkapubsub/v0.34.0
- pubsub/kafkapubsub/v0.33.0
- pubsub/kafkapubsub/v0.32.0
- pubsub/kafkapubsub/v0.31.0
- pubsub/kafkapubsub/v0.30.0
- pubsub/kafkapubsub/v0.29.0
- pubsub/kafkapubsub/v0.28.0
- pubsub/kafkapubsub/v0.27.0
- pubsub/kafkapubsub/v0.26.0
- pubsub/kafkapubsub/v0.25.0
- pubsub/kafkapubsub/v0.24.0
- pubsub/kafkapubsub/v0.23.0
- pubsub/kafkapubsub/v0.22.0
- pubsub/kafkapubsub/v0.21.0
- pubsub/kafkapubsub/v0.20.0
- pubsub/kafkapubsub/v0.19.0
- pubsub/kafkapubsub/v0.18.0
- pubsub/kafkapubsub/v0.17.0
- pubsub/kafkapubsub/v0.16.0
- pubsub/kafkapubsub/v0.15.0
- docstore/mongodocstore/v0.40.0
- docstore/mongodocstore/v0.39.0
- docstore/mongodocstore/v0.38.0
- docstore/mongodocstore/v0.37.0
- docstore/mongodocstore/v0.36.0
- docstore/mongodocstore/v0.35.0
- docstore/mongodocstore/v0.34.0
- docstore/mongodocstore/v0.33.0
- docstore/mongodocstore/v0.32.0
- docstore/mongodocstore/v0.31.0
- docstore/mongodocstore/v0.30.0
- docstore/mongodocstore/v0.29.0
- docstore/mongodocstore/v0.28.0
- docstore/mongodocstore/v0.27.0
- docstore/mongodocstore/v0.26.0
- docstore/mongodocstore/v0.25.0
- docstore/mongodocstore/v0.24.0
- docstore/mongodocstore/v0.23.0
- docstore/mongodocstore/v0.22.0
- docstore/mongodocstore/v0.21.0
- docstore/mongodocstore/v0.20.0
- docstore/mongodocstore/v0.19.0
- docstore/mongodocstore/v0.18.0
- docstore/mongodocstore/v0.17.0
- docstore/mongodocstore/v0.16.0
Showing
4 changed files
with
182 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
module gocloud.dev/samples | ||
|
||
require ( | ||
contrib.go.opencensus.io/exporter/stackdriver v0.11.0 | ||
git.apache.org/thrift.git v0.12.0 // indirect | ||
github.com/Azure/azure-pipeline-go v0.1.9 | ||
github.com/Azure/azure-storage-blob-go v0.6.0 | ||
github.com/aws/aws-sdk-go v1.19.16 | ||
github.com/go-sql-driver/mysql v1.4.1 | ||
github.com/google/subcommands v1.0.1 | ||
github.com/google/wire v0.2.1 | ||
github.com/gorilla/mux v1.7.1 | ||
go.opencensus.io v0.21.0 | ||
gocloud.dev v0.13.0 | ||
google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7 | ||
gopkg.in/pipe.v2 v2.0.0-20140414041502-3c2ca4d52544 | ||
) | ||
|
||
replace gocloud.dev => ../ |
Large diffs are not rendered by default.
Oops, something went wrong.