Skip to content

Commit 4c05823

Browse files
committed
docs: moving mocks paragraph tp CONTRIBUTING.md
1 parent 0c8b278 commit 4c05823

File tree

2 files changed

+8
-7
lines changed

2 files changed

+8
-7
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,14 @@ You are welcome to contribute with your pull requests. These steps explain the c
2121
2222
To let tests run locally, run `go test ./...` in the root directory of the repository.
2323

24+
## Mocks
25+
26+
golang commons uses mockery for mocking. If mock is absent, you can update `.mockery.yaml` file by adding the missing mock. Then run the following command to generate the mock files:
27+
```
28+
task mockery
29+
```
30+
P.S. If you have golang installed, it automatically installs the mockery binary in `golang-commons/bin` directory.
31+
2432
## Issues
2533
We use GitHub issues to track bugs. Please ensure your description is
2634
clear and includes sufficient instructions to reproduce the issue.

README.md

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ All the released versions will be available through access to GitHub (as any oth
3030

3131
golang-commons requires a installation of go. Checkout the [go.mod](go.mod) for the required go version.
3232

33-
## Mocks
34-
35-
golang commons uses mockery for mocking. If mock is absent, you can update `.mockery.yaml` file by adding the missing mock. Then run the following command to generate the mock files:
36-
```
37-
task mockery
38-
```
39-
P.S. If you have golang installed, it automatically installs the mockery binary in `golang-commons/bin` directory.
4033

4134
## Contributing
4235

0 commit comments

Comments
 (0)