Skip to content

Commit 5656fd8

Browse files
authored
Merge pull request #91 from osbytes/readme-update
readme update
2 parents 989d891 + a7ad2ed commit 5656fd8

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

README.md

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,8 @@
1313
</a>
1414
</p>
1515

16-
1716
A developer focused discord bot written in go
1817

19-
2018
## How to Get Started
2119

2220
Install all go dependencies
@@ -111,8 +109,22 @@ func TestGithubService_GetContributionsByUsername__MultiYear(t *testing.T) {
111109

112110
Run the command below to mock all of your interfaces
113111

112+
Pull mockery docker image
113+
114+
```sh
115+
docker pull vektra/mockery
116+
```
117+
118+
Run this in devy, replace pwd with root pwd
119+
120+
```sh
121+
docker run -v "$PWD":/src -w /src vektra/mockery --all
122+
```
123+
124+
For in package
125+
114126
```sh
115-
mockery --all --inpackage
127+
docker run -v "$PWD":/src -w /src vektra/mockery --all --inpackage
116128
```
117129

118130
If you need to monkey patch or create pointer functions follow this convention

0 commit comments

Comments
 (0)