You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 579 B

1234567891011121314
  1. This directory contains auto-generated mocks for the ProfilerService interface.
  2. To regenerate the mocks, install https://github.com/golang/mock tool and run
  3. the command below while in the `mocks` directory.
  4. ```
  5. mockgen -package mocks google.golang.org/genproto/googleapis/devtools/cloudprofiler/v2 \
  6. ProfilerServiceClient \
  7. > mock_profiler_client.go
  8. ```
  9. Then re-add the copyright header in the file. You also need to either run the
  10. commands above using Golang 1.6 or manually change the "context" import to
  11. "context" to ensure the compatibility with Go 1.6.