Skip to content
This repository was archived by the owner on Jun 27, 2023. It is now read-only.

Commit fcb6d39

Browse files
SellJamHeresywhang
andauthored
Update installation instructions in README.md (#26)
This minimal PR documents the installation command. It took me a moment to look it up from the github.com/golang repo. Hopefully this can help save a few moments for others. --------- Co-authored-by: Sung Yoon Whang <sungyoonwhang@gmail.com>
1 parent fcef047 commit fcb6d39

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,14 @@ go.uber.org/mock supports all Go versions supported by the official
2222
[Go Release Policy](https://go.dev/doc/devel/release#policy). That is,
2323
the two most recent releases of Go.
2424

25+
## Installation
26+
27+
Install the `mockgen` tool.
28+
29+
```
30+
go install go.uber.org/mock/mockgen@latest
31+
```
32+
2533
## Running mockgen
2634

2735
`mockgen` has two modes of operation: source and reflect.

0 commit comments

Comments
 (0)