Skip to content

Go: Use Unique key For import and var #314

Open
@sshaw

Description

@sshaw

Currently import and import( both use imp. Same with var. This is a bit annoying as these are used often and result in a prompt to pick the desired one.

I propose:

  1. var = var N
  2. var( = var ( N )

Or maybe:

  1. va = var N
  2. var = var ( N )

mnemonic: var results in a longer definition than va.

Same pattern for import.

Really the key for var ( N ) should support a list of vars as this is the common use case.

Interested? Thoughts? I can submit a PR.

Metadata

Metadata

Assignees

No one assigned

    Labels

    seenPR was seen and initial feedback was given

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions