Cannot find module providing package crypto/ed25519

When I’m following this tutorial https://docs.libp2p.io/tutorials/getting-started/go/ I’m getting the error "Cannot find module providing package crypto/ed25519

Upgraging to newer version of go fixed the problem.

Current version of go:

go version go1.15.2 linux/amd64