Skip to content

Refactor to net.JoinHostPort instead of fmt.Sprintf#1104

Merged
2 commits merged intooapi-codegen:masterfrom
alexandear-org:refactor-net-join-host-port
Jul 28, 2023
Merged

Refactor to net.JoinHostPort instead of fmt.Sprintf#1104
2 commits merged intooapi-codegen:masterfrom
alexandear-org:refactor-net-join-host-port

Conversation

@alexandear
Copy link
Copy Markdown
Contributor

@alexandear alexandear commented Jun 11, 2023

This PR modifies examples to use net.JoinHostPort instead of fmt.Sprintf. Also, port's type changed to string to simplify a code.

@ghost ghost merged commit 8fc824d into oapi-codegen:master Jul 28, 2023
debuggerpk pushed a commit to breuHQ/oapi-codegen that referenced this pull request Sep 18, 2023
Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
danicc097 pushed a commit to danicc097/oapi-codegen that referenced this pull request Aug 31, 2024
Co-authored-by: Marcin Romaszewicz <47459980+deepmap-marcinr@users.noreply.github.com>
This pull request was closed.
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