Иду по инструкции отсюда
https://learn.microsoft.com/en-us/azure/event-hubs...
$ go version
go version go1.18.1 linux/amd64
$ go get github.com/Azure/azure-sdk-for-go/sdk/messaging/azeventhubs
go: go.mod file not found in current directory or any parent directory.
'go get' is no longer supported outside a module.
To build and install a command, use 'go install' with a version,
like 'go install example.com/cmd@latest'
For more information, see https://golang.org/doc/go-get-install-deprecation
or run 'go help get' or 'go help install'.
Непонятно. Install что?