Skip to content

Commit

Permalink
Merge pull request #350 from criadoperez/fix/go-version
Browse files Browse the repository at this point in the history
Go version requirement
  • Loading branch information
Stebalien authored Feb 13, 2024
2 parents 7876bd3 + 15a0aa1 commit 3672fba
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions content/guides/getting-started/go.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ a new Go module, starting libp2p nodes, and sending ping messages between them.

### Install Go

- Ensure your Go version is at least 1.19.
- Ensure your Go version is at least 1.20.
- You can install a recent version of Go by following the [official installation instructions](https://golang.org/doc/install).
- Once installed, you should be able to run `go version` and see a version >= 1.19, for example:
- Once installed, you should be able to run `go version` and see a version >= 1.20, for example:

```bash
$ go version
go version go1.19 darwin/arm64
go version go1.20 darwin/arm64
```

### Create a Go module
Expand All @@ -54,7 +54,7 @@ initialized and the version of Go you're using, for example:
$ cat go.mod
module github.com/user/go-libp2p-tutorial

go 1.19
go 1.20
```

### Start a libp2p node
Expand Down

0 comments on commit 3672fba

Please sign in to comment.