bochap opened a new issue, #25702:
URL: https://github.com/apache/beam/issues/25702

   ### What happened?
   
   Visit https://beam.apache.org/get-started/quickstart/go/ and run all the 
steps till the command in `Run the quickstart`. An error message `flag provided 
but not defined: -inputText` will be returned. The cause is in the snippet 
found in [Line 59 of Apache Beam Go SDK 
quickstart](https://github.com/apache/beam/blob/master/website/www/site/content/en/get-started/quickstart/go.md?plain=1#L59)
   
   ```markdown
   {{< highlight >}}
   go run main.go --inputText="Greetings"
   {{< /highlight >}}
   ```
   This is inconsistent with the code which named the flag as `input-text` 
instead of `inputText` as shown in the snippet found in [Line 24 of 
main.go](https://github.com/apache/beam-starter-go/blob/main/main.go#L24)
   
   ```go
   var (
        input_text = flag.String("input-text", "default input text", "Input 
text to print.")
   )
   ```
   
   
   ### 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]

Reply via email to