mirror of
https://github.com/Luzifer/nginx-sso.git
synced 2024-12-21 05:11:17 +00:00
15 lines
579 B
Markdown
15 lines
579 B
Markdown
|
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.
|