Skip to content

Conversation

@zzy2210
Copy link
Contributor

@zzy2210 zzy2210 commented Aug 18, 2025

#179 179

Copilot AI review requested due to automatic review settings August 18, 2025 05:41
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the endpoint URL construction to use Go's url.URL type instead of string formatting for better URL handling and IPv6 compatibility.

  • Replaces fmt.Sprintf with structured URL building using url.URL
  • Uses net.JoinHostPort for proper host:port formatting that handles IPv6 addresses
  • Removes dependency on the fmt package
Comments suppressed due to low confidence (1)

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

@zzy2210 zzy2210 changed the title refactor: replace string formatting with url.URL for endpoint URL con… refactor: replace string formatting with url.URL to support ipv6 Aug 18, 2025
@masterzen masterzen merged commit 20c0798 into masterzen:master Aug 19, 2025
0 of 2 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