Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

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.