Skip to content

Change "opt" param names to "opts" everywhere to make the repo consistent #1415

Closed

Description

@gmlewis

In #1414 I rambled on about preferring "opts" over "opt" and noticed the repo is horribly inconsistent and it is probably my fault... so I'd like to have it fixed.

My reasoning is that the types are named *Options so the variable name should be plural as well.

This would be a great PR for any new contributor to this repo or a new Go developer.
All contributions are greatly appreciated!

Feel free to volunteer for any issue and the issue can be assigned to you so that others don't attempt to duplicate the work.

Please check out our CONTRIBUTING.md guide to get started.

Thank you!

Activity

  1. added 2 commits that reference this issue on Feb 10, 2020
    cef58be
    467aade
  2. added a commit that references this issue on Feb 10, 2020
    6923131
  3. added a commit that references this issue on Oct 2, 2020
    c7912f5
  4. added a commit that references this issue on Jun 28, 2026
    5dd4a8f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions