ZhengLin-Li opened a new issue, #24845: URL: https://github.com/apache/beam/issues/24845
### What happened? The **_Get the SDK and the examples_** section of _**Go SDK Quickstart**_ is not accurate, the document is outdated. Here is the link: [Get the SDK and the examples](https://beam.apache.org/get-started/quickstart-go/#:~:text=%24%20go%20version-,Get%20the%20SDK%20and%20the%20examples,-The%20easiest%20way) When I followed the instruction and tried to run the command `go get -u github.com/apache/beam/sdks/v2/go/pkg/beam` on my machine in an empty folder, I got the following error: ```bash 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'. ``` However, when I tried to run `go install github.com/apache/beam/sdks/v2/go/pkg/beam@latest`, I got the following error: ```bash go: downloading github.com/apache/beam/sdks/v2 v2.43.0 go: downloading github.com/apache/beam v2.43.0+incompatible go: downloading github.com/golang/protobuf v1.5.2 go: downloading google.golang.org/protobuf v1.28.1 go: downloading github.com/google/uuid v1.3.0 go: downloading google.golang.org/grpc v1.50.1 go: downloading google.golang.org/genproto v0.0.0-20221010155953-15ba04fc1c0e go: downloading golang.org/x/net v0.0.0-20221012135044-0b7e1fb9d458 go: downloading golang.org/x/sys v0.0.0-20220728004956-3c1f35247d10 go: downloading golang.org/x/text v0.4.0 package github.com/apache/beam/sdks/v2/go/pkg/beam is not a main package ``` I believe this section of documentation is not very friendly for beginners to get started. Could anyone fix this issue? Go version: go1.18.1 linux/amd64 OS version: Ubuntu 20.04 ### Issue Priority Priority: 2 (default / most bugs should be filed as P2) ### Issue Components - [ ] Component: Python SDK - [ ] Component: Java SDK - [ ] 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]
