Skip to content

Rename matchers package to matcher singular#3777

Merged
simonpasquier merged 3 commits intoprometheus:mainfrom
grobinson-grafana:grobinson/rename-matchers-to-singular
Jun 21, 2024
Merged

Rename matchers package to matcher singular#3777
simonpasquier merged 3 commits intoprometheus:mainfrom
grobinson-grafana:grobinson/rename-matchers-to-singular

Conversation

@grobinson-grafana
Copy link
Collaborator

I realized that we had named the package plural matchers when its idiomatic in Go to use singular package names.

I realized that we had named the package plural "matchers" when
its idiomatic in Go to use singular package names.

Signed-off-by: George Robinson <george.robinson@grafana.com>
Signed-off-by: George Robinson <george.robinson@grafana.com>
Signed-off-by: George Robinson <george.robinson@grafana.com>
Copy link
Member

@simonpasquier simonpasquier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@simonpasquier simonpasquier merged commit 52eb1fc into prometheus:main Jun 21, 2024
@grobinson-grafana grobinson-grafana deleted the grobinson/rename-matchers-to-singular branch June 25, 2024 15:59
TheMeier pushed a commit to TheMeier/alertmanager that referenced this pull request Sep 29, 2024
* Rename matchers package to matcher singular

I realized that we had named the package plural "matchers" when
its idiomatic in Go to use singular package names.

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
tjhop pushed a commit to tjhop/alertmanager that referenced this pull request Nov 13, 2025
* Rename matchers package to matcher singular

I realized that we had named the package plural "matchers" when
its idiomatic in Go to use singular package names.

---------

Signed-off-by: George Robinson <george.robinson@grafana.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants