awslabs / aws-servicebroker

AWS Service Broker
Apache License 2.0
468 stars 131 forks source link

Support dependency management via go modules #220

Closed tealeg closed 3 years ago

tealeg commented 3 years ago

Is your feature request related to a problem? Please describe. Currently aws-servicebroker discovers its build time dependencies via a Gopkg.toml file - this is a legacy method that requires that the code be checked out in the correct place, under the GOPATH in order to build properly. The dependencies themselves have been vendored, but this, in turn, implies using an older version of go to build the project.

Describe the solution you'd like Ideally, the project would shift to the modern Go modules system and support building with recent/current versions of Go.

Describe alternatives you've considered Our current solution is, in our CI/CD pipeline, to remove the Gopkg.toml and Gopkg.lock files, and the vendor directory, then initialised the go module based build.