You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,14 @@ You are welcome to contribute with your pull requests. These steps explain the c
21
21
22
22
To let tests run locally, run `go test ./...` in the root directory of the repository.
23
23
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
+
24
32
## Issues
25
33
We use GitHub issues to track bugs. Please ensure your description is
26
34
clear and includes sufficient instructions to reproduce the issue.
Copy file name to clipboardExpand all lines: README.md
-7Lines changed: 0 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,13 +30,6 @@ All the released versions will be available through access to GitHub (as any oth
30
30
31
31
golang-commons requires a installation of go. Checkout the [go.mod](go.mod) for the required go version.
32
32
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.
0 commit comments