Closed ghost closed 7 years ago
golang 1.7 has added the import "context" as a standard package to replace "golang.org/x/net/context"
Thus, if running golang 1.7 or later, the user service will fail to build. To get this to build on golang 1.7, the follow change needs to be made:
Change import "golang.org/x/net/context" to "context" in the following two files: user/api/endpoints.go user/api/transport.go
golang 1.7 has added the import "context" as a standard package to replace "golang.org/x/net/context"
Thus, if running golang 1.7 or later, the user service will fail to build. To get this to build on golang 1.7, the follow change needs to be made:
Change import "golang.org/x/net/context" to "context" in the following two files: user/api/endpoints.go user/api/transport.go