We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 989d891 + a7ad2ed commit 5656fd8Copy full SHA for 5656fd8
1 file changed
README.md
@@ -13,10 +13,8 @@
13
</a>
14
</p>
15
16
-
17
A developer focused discord bot written in go
18
19
20
## How to Get Started
21
22
Install all go dependencies
@@ -111,8 +109,22 @@ func TestGithubService_GetContributionsByUsername__MultiYear(t *testing.T) {
111
109
112
110
Run the command below to mock all of your interfaces
113
+Pull mockery docker image
+
114
+```sh
115
+docker pull vektra/mockery
116
+```
117
118
+Run this in devy, replace pwd with root pwd
119
120
121
+docker run -v "$PWD":/src -w /src vektra/mockery --all
122
123
124
+For in package
125
126
```sh
-mockery --all --inpackage
127
+docker run -v "$PWD":/src -w /src vektra/mockery --all --inpackage
128
```
129
130
If you need to monkey patch or create pointer functions follow this convention
0 commit comments