Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

aryehlev
Copy link

@aryehlev aryehlev commented Sep 9, 2024

No description provided.

@aryehlev aryehlev changed the title add states montana texa and colorado. add states montana texas and colorado. Sep 9, 2024
@bsardo bsardo self-assigned this Sep 9, 2024
@aryehlev
Copy link
Author

@bsardo you think you will get to it anytime soon?

@bsardo
Copy link
Contributor

bsardo commented Sep 24, 2024

Hi @aryehlev, we might have some time next week to give this a look.

@@ -0,0 +1,166 @@
package usptx

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

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",

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?

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.

None yet

3 participants