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

fix(main): remove colon from constant defaultPort #47

Merged
merged 1 commit into from
Mar 7, 2025

Conversation

nicholas-fedor
Copy link
Owner

  • Remove colon from constant and add it when used.
  • Test updated to reflect change

While Gin expects the colon to be included in the address parameter, it is better to implement this rather than assume it's part of the port string value.

- Remove colon from constant and add it when used.
- Test updated to reflect change

While Gin expects the colon to be included in the address parameter, it is better to implement this rather than assume it's part of the port string value.
@nicholas-fedor nicholas-fedor merged commit 124a424 into main Mar 7, 2025
3 checks passed
@nicholas-fedor nicholas-fedor deleted the fix/normalize-default-port branch March 7, 2025 05:52
Copy link

codecov bot commented Mar 7, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Files with missing lines Coverage Δ
cmd/server/main.go 66.66% <100.00%> (ø)
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

1 participant