1
0
Fork 0
mirror of https://github.com/Luzifer/nginx-sso.git synced 2024-10-18 15:44:21 +00:00
nginx-sso/vendor/cloud.google.com/go/profiler/mocks/README.md
Knut Ahlers 9b3c895c04
Update dependencies
Signed-off-by: Knut Ahlers <knut@ahlers.me>
2019-04-22 06:44:07 +02:00

579 B

This directory contains auto-generated mocks for the ProfilerService interface.

To regenerate the mocks, install https://github.com/golang/mock tool and run the command below while in the mocks directory.

mockgen -package mocks google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2 \
         ProfilerServiceClient \
         > mock_profiler_client.go

Then re-add the copyright header in the file. You also need to either run the commands above using Golang 1.6 or manually change the "context" import to "context" to ensure the compatibility with Go 1.6.