Skip to content

Commit

Permalink
Update installation instructions (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas authored Mar 29, 2023
1 parent 13fb492 commit 3b9c671
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,14 @@ You can read more in the [Meet Moq blog post](http://bit.ly/meetmoq).

To start using latest released version of Moq, just run:

#### Go version < 1.16

```
$ go get github.com/matryer/moq
```

#### Go 1.16+

```
$ go install github.com/matryer/moq@latest
```

Note that Go 1.18+ is needed for installing from source. For using Moq with
older Go versions, use the pre-built binaries published with
[Moq releases](https://github.com/matryer/moq/releases).

### Usage

```
Expand Down

0 comments on commit 3b9c671

Please sign in to comment.