You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 21:04:58 UTC

[GitHub] [beam] kennknowles opened a new issue, #18833: [Go-SDK] Add light example output helpers for documentation

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

   Go has facilities to have "live" examples that run as part of the test suite, and are incorporated directly into the package documentation. These can also sanity check that text sent to STDOUT matches an expected set of lines.
   
   This task has two desired components: 
   * A way to run the direct runner with significantly fewer lines of debugging output.
   * A light type checker that outputs PCollection types. 
   
   These would permit more expressive examples, and turn examples into tests. This also avoids oddities such as unused variables that need to be assigned to  _ to satisfy the Go Compiler. ("_ = foo_unused").
   
   Imported from Jira [BEAM-4156](https://issues.apache.org/jira/browse/BEAM-4156). Original Jira may contain additional context.
   Reported by: lostluck.


-- 
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: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org