Skip to content

domain validation#8

Merged
jongio merged 2 commits intomainfrom
morevalidate
Jan 13, 2026
Merged

domain validation#8
jongio merged 2 commits intomainfrom
morevalidate

Conversation

@jongio
Copy link
Copy Markdown
Owner

@jongio jongio commented Jan 13, 2026

Implement a domain validation function that checks for various criteria, including format, length, and the absence of protocols or ports. Comprehensive test cases ensure the function behaves as expected.

Linked Issue

Fixes # (if applicable)

Checklist

  • Tests pass: go test ./...

  • Formatted: gofmt -s -w .

  • Vetted: go vet ./...

  • Docs updated (README/CHANGELOG/etc.) if needed

Notes

Reviewers should focus on the validation logic and the thoroughness of the test cases.

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.12%. Comparing base (d7a0427) to head (6fc058b).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #8      +/-   ##
==========================================
+ Coverage   80.53%   81.12%   +0.58%     
==========================================
  Files          12       12              
  Lines         935      964      +29     
==========================================
+ Hits          753      782      +29     
  Misses        140      140              
  Partials       42       42              
Flag Coverage Δ
unittests 81.12% <100.00%> (+0.58%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@jongio jongio merged commit 76d1023 into main Jan 13, 2026
8 checks passed
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