it is strange, but I created empty file go.mod with nano, deleted it and after that go also did it successfully.
nano go.mod Ctrl + S, Ctrl + X - save and exit. rm go. mod go mod init data/my_porject - successfully created go.mod