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 ISSN validator + tests + documentation #1166

Merged
merged 1 commit into from Nov 4, 2023
Merged

add ISSN validator + tests + documentation #1166

merged 1 commit into from Nov 4, 2023

Conversation

mrcook
Copy link
Contributor

@mrcook mrcook commented Sep 15, 2023

International Standard Serial Number (ISSN) validator

"An ISSN is an 8-digit code used to identify newspapers, journals, magazines and periodicals of all kinds and on all media–print and electronic." -- issn.org

This PR adds a new issn validator, along with updating all translation files and tests. This validator is very similar to that of the ISBN so I believe all translations will be okay. The valid ISSNs used in the tests are examples taken from issn.org.

Make sure that you've checked the boxes below before you submit PR:

  • Tests exist or have been written that cover this particular change.

@go-playground/validator-maintainers

@mrcook mrcook requested a review from a team as a code owner September 15, 2023 16:39
@coveralls
Copy link

Coverage Status

coverage: 73.884% (+0.04%) from 73.849% when pulling 9af5485 on mrcook:issn-validator into 8d50f2f on go-playground:master.

Copy link
Contributor

@deankarn deankarn left a comment

Choose a reason for hiding this comment

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

LGTM

@deankarn deankarn merged commit 1246622 into go-playground:master Nov 4, 2023
12 checks passed
Copy link

@Goshrt Goshrt left a comment

Choose a reason for hiding this comment

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

R

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

4 participants