Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

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.