aromanenko-dev opened a new issue, #27207: URL: https://github.com/apache/beam/issues/27207
### What happened? I try to follow the steps on https://beam.apache.org/get-started/quickstart-go/ to run a `wordcount` with Go SDK and have some difficulties. The command `go get` seems is not working anymore with latest versions of Go: ``` $ go version go version go1.20.5 darwin/amd64 $ go get -u github.com/apache/beam/sdks/v2/go/pkg/beam 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'. ``` When I try to install the latest version with `install` command then it fails: ``` $ go install github.com/apache/beam/sdks/v2/go/pkg/beam@latest package github.com/apache/beam/sdks/v2/go/pkg/beam is not a main package ``` When I try to specify a version explicitly I have the same result: ``` $ go install github.com/apache/beam/sdks/v2/go/pkg/[email protected] package github.com/apache/beam/sdks/v2/go/pkg/beam is not a main package $ echo $? 1 ``` I'm a Go novice, so, please let me know if I'm doing something wrong. ### Issue Priority Priority: 3 (minor) ### Issue Components - [ ] Component: Python SDK - [ ] Component: Java SDK - [X] Component: Go SDK - [ ] Component: Typescript SDK - [ ] Component: IO connector - [ ] Component: Beam examples - [ ] Component: Beam playground - [ ] Component: Beam katas - [ ] Component: Website - [ ] Component: Spark Runner - [ ] Component: Flink Runner - [ ] Component: Samza Runner - [ ] Component: Twister2 Runner - [ ] Component: Hazelcast Jet Runner - [ ] Component: Google Cloud Dataflow Runner -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
