You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Robert Burke (JIRA)" <ji...@apache.org> on 2018/04/23 18:45:00 UTC

[jira] [Assigned] (BEAM-4156) [Go-SDK] Add light example output helpers for documentation

     [ https://issues.apache.org/jira/browse/BEAM-4156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Burke reassigned BEAM-4156:
----------------------------------

    Assignee: Robert Burke  (was: Henning Rohde)

> [Go-SDK] Add light example output helpers for documentation
> -----------------------------------------------------------
>
>                 Key: BEAM-4156
>                 URL: https://issues.apache.org/jira/browse/BEAM-4156
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-go
>            Reporter: Robert Burke
>            Assignee: Robert Burke
>            Priority: Major
>
> 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").



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)