This repository was archived by the owner on Jun 27, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -9,12 +9,12 @@ contexts too.
99Installation
1010------------
1111
12- Once you have [ installed Go] [ golang-install ] , run these commands
13- to install the ` gomock ` package and the ` mockgen ` tool:
12+ Once you have [ installed Go] [ golang-install ] , install the ` mockgen ` tool:
1413
15- go get github.com/golang/mock/gomock
16- go install github.com/golang/mock/mockgen
14+ go get github.com/golang/mock/mockgen
1715
16+ _ Note: It is recommended to have ` GO111MODULE=on ` to ensure the correct
17+ dependencies are used._
1818
1919Documentation
2020-------------
@@ -74,9 +74,9 @@ It supports the following flags:
7474
7575* ` -build_flags ` : (reflect mode only) Flags passed verbatim to ` go build ` .
7676
77- * ` -mock_names ` : A list of custom names for generated mocks. This is specified
77+ * ` -mock_names ` : A list of custom names for generated mocks. This is specified
7878 as a comma-separated list of elements of the form
79- `Repository=MockSensorRepository,Endpoint=MockSensorEndpoint`, where
79+ `Repository=MockSensorRepository,Endpoint=MockSensorEndpoint`, where
8080 `Repository` is the interface name and `MockSensorRepository` is the desired
8181 mock name (mock factory method and mock recorder will be named after the mock).
8282 If one of the interfaces has no custom name specified, then default naming
You can’t perform that action at this time.
0 commit comments