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

20240723.add multipart #49

Closed
wants to merge 4 commits into from

Conversation

chenjink674
Copy link

fixed: lost github.com/gin-gonic/gin/binding import

kimchen added 4 commits July 23, 2024 19:57
Add the missing gin/binding import to template.go to resolve issues with
service generation that were caused by an import path error.
Removed the unused `github.com/gin-gonic/gin/binding` import from the
`template.go` file to prevent compile-time issues and clean up the code.
…hod type

The router generation logic now checks for the presence of 'FORM-DATA' methodtype in the service methods. If found, it conditionally includes the 'gin-binding'
package in the generated code to support form-data parameters. This optimization
avoids unnecessary imports in cases where 'gin-binding' is not required.
@zhufuyi
Copy link
Owner

zhufuyi commented Aug 31, 2024

This issue has been resolved in v1.8.6.

@zhufuyi zhufuyi closed this Aug 31, 2024
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