You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an internal package reference error. This seems like it could be due to merging the samples into one repo.
XPS-13:/go/src/github.com/Azure/azure-sdk-for-go-samples$ dep ensure
XPS-13:/go/src/github.com/Azure/azure-sdk-for-go-samples$ go test -v ./resources/.
resources/cleanup.go:12:2: use of internal package github.com/Azure/azure-sdk-for-go-samples/vendor/github.com/Azure-Samples/azure-sdk-for-go-samples/internal/config not allowed
resources/deployment.go:15:2: use of internal package github.com/Azure/azure-sdk-for-go-samples/vendor/github.com/Azure-Samples/azure-sdk-for-go-samples/internal/iam not allowed
Thank you for your contribution and feedback! Help us review faster by providing the following information:
This issue is a: (mark with an x)
bug report
request for new sample
documentation issue or request
regression (a behavior that used to work and stopped in a new release)
Steps to reproduce:
Errors and log messages:
Expected behavior:
OS and Go versions:
Further info:
The text was updated successfully, but these errors were encountered:
The sample repo is using dep as dependency management tool, so please put the repo in the following path to avoid this kind of error. $(GOPATH)/src/github.com/Azure-Samples/azure-sdk-for-go-samples
@ArcturusZhang I am getting the same error even after running with dep and putting azure-sdk-for-go-samples in this $(GOPATH)/src/github.com/Azure-Samples/azure-sdk-for-go-samples
directory.
Hi @hetalsonavane now the sample repo has been switched to go modules as dependency management. With go modules, you could put your code wherever you want
I'm getting an internal package reference error. This seems like it could be due to merging the samples into one repo.
XPS-13:
/go/src/github.com/Azure/azure-sdk-for-go-samples$ dep ensure/go/src/github.com/Azure/azure-sdk-for-go-samples$ go test -v ./resources/.XPS-13:
resources/cleanup.go:12:2: use of internal package github.com/Azure/azure-sdk-for-go-samples/vendor/github.com/Azure-Samples/azure-sdk-for-go-samples/internal/config not allowed
resources/deployment.go:15:2: use of internal package github.com/Azure/azure-sdk-for-go-samples/vendor/github.com/Azure-Samples/azure-sdk-for-go-samples/internal/iam not allowed
Thank you for your contribution and feedback! Help us review faster by providing the following information:
This issue is a: (mark with an
x
)Steps to reproduce:
Errors and log messages:
Expected behavior:
OS and Go versions:
Further info:
The text was updated successfully, but these errors were encountered: