-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add states montana texas and colorado. #15
base: main
Are you sure you want to change the base?
Conversation
@bsardo you think you will get to it anytime soon? |
Hi @aryehlev, we might have some time next week to give this a look. |
@@ -0,0 +1,166 @@ | |||
package usptx |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe there's a typo on this file's name. Did you mean usptx.go
instead of uxptx.go
?
@@ -12,6 +12,9 @@ const ( | |||
SectionUSPCO SectionID = 10 | |||
SectionUSPUT SectionID = 11 | |||
SectionUSPCT SectionID = 12 | |||
SectionUSPTX SectionID = 16 | |||
SectionUSPOR SectionID = 15 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is mentioned in the pull request title that Colorado is added but, files sections/uspor/uspor.go
and sections/uspor/uspor_test.go
as well as this constant's name, seem to hint that the two-letter state code refers to Oregon. Is the pull request title incorrect?
@@ -24,4 +27,6 @@ var SectionNamesByID = map[int]string{ | |||
10: "uspco", | |||
11: "usput", | |||
12: "uspct", | |||
16: "usptx", | |||
15: "uspor", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is an entry for Montana missing?
29 12: "uspct",
30 16: "usptx",
+ 14: "uspmt",
31 15: "uspor",
32 }
constants/constants.go
Also, can we sort in descending order?
No description provided.