You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Robert Burke (Jira)" <ji...@apache.org> on 2022/01/13 19:52:00 UTC

[jira] [Updated] (BEAM-4115) Go SDK - Vanity Import Path

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

Robert Burke updated BEAM-4115:
-------------------------------
    Resolution: Abandoned
        Status: Resolved  (was: Open)

> Go SDK - Vanity Import Path
> ---------------------------
>
>                 Key: BEAM-4115
>                 URL: https://issues.apache.org/jira/browse/BEAM-4115
>             Project: Beam
>          Issue Type: Improvement
>          Components: sdk-go
>    Affects Versions: Not applicable
>            Reporter: Robert Burke
>            Priority: P3
>
> Proposal Doc: [https://s.apache.org/go-beam-vanity-import]
> Go has the ability to specify custom import paths for a prefix of packages. This has benefits of avoiding generic GitHub paths, and avoids breaking users in the event of infrastructure events such as moving off of GitHub, or even splitting the repo into per language components.
>  
> Currently users need to import paths like:
>  
> import "[github.com/apache/beam/sdks/go/pkg/beam/io/textio|http://github.com/apache/beam/sdks/go/pkg/beam/io/textio]"
>  
> to get at SDK packages. If we implement this proposal, they would look like:
> import "[beam.apache.org/sdks/go/pkg/beam/io/textio|http://beam.apache.org/sdks/go/pkg/beam/io/textio]"
> which are a bit shorter, a bit more stable, and a bit nicer, with the benefits outlined above.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)