I followed this tutorial:
https://mycoralhealth.medium.com/code-your-own-blockchain-in-less-than-200-lines-of-go-e296282bcffc
To do so, it is configured an environment in a linux vm ubuntu 20.
The steps are followed. This step is the only needed to be added:
go mod init blockchain-tutorial
Demo de 30s: