cmd/gateway: use proper module name
By using a require for storj.io/storj it will make the import unambiguous. This means it is possible to have a module name storj.io/storj/cmd/gateway. Change-Id: I98439cbbaf433ae31309b7f80a19ced896018f65
This commit is contained in:
parent
64330c55b3
commit
46228fee92
2
Makefile
2
Makefile
@ -84,7 +84,7 @@ install-sim: ## install storj-sim
|
||||
storj.io/storj/cmd/uplink \
|
||||
storj.io/storj/cmd/identity \
|
||||
storj.io/storj/cmd/certificates
|
||||
cd cmd/gateway && go install -race -v .
|
||||
cd cmd/gateway && go install -race -v storj.io/storj/cmd/gateway
|
||||
|
||||
##@ Test
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
module storj.io/redirect/gateway
|
||||
module storj.io/storj/cmd/gateway
|
||||
|
||||
// module uses different name to make go module system treat it as a separate
|
||||
// package and make it such there isn't a cyclic dependency.
|
||||
@ -6,6 +6,8 @@ module storj.io/redirect/gateway
|
||||
go 1.13
|
||||
|
||||
require storj.io/gateway v1.0.0-rc.2
|
||||
// keep this in sync with storj.io/gateway
|
||||
require storj.io/storj v0.12.1-0.20200224220226-50a21de9dc71
|
||||
|
||||
exclude gopkg.in/olivere/elastic.v5 v5.0.72 // buggy import, see https://github.com/olivere/elastic/pull/869
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user