refactor: update import paths to use versioned package structure#66
Open
fern-api[bot] wants to merge 1 commit intomainfrom
Open
refactor: update import paths to use versioned package structure#66fern-api[bot] wants to merge 1 commit intomainfrom
fern-api[bot] wants to merge 1 commit intomainfrom
Conversation
Updates all import paths from github.com/tryVital/vital-go to github.com/tryVital/vital-go/v505 to support Go module versioning. Also adds form URL encoded support to the HTTP client for handling content-type application/x-www-form-urlencoded requests. Key changes: - Update all import paths across client files to use v505 package structure - Add form URL encoded request body handling in HTTP client - Update type references from vitalgo to v505 package alias - Enhance multipart file upload to support multiple files - Add utility functions for form data serialization 🌿 Generated with Fern
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your imports to use the new versioned package structure. Type references should also be updated from thevitalgopackage alias tov505.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your go.mod file to use the new versioned module path: replace all imports fromgithub.com/tryVital/vital-gowithgithub.com/tryVital/vital-go/v505and update the package name fromvitalgotov505in your import statements.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your go.mod file and import statements to use the new versioned module path.github.com/tryVital/vital-go/v505instead ofgithub.com/tryVital/vital-go. Update your import statements to use the new versioned package path.github.com/tryVital/vital-gotogithub.com/tryVital/vital-go/v505. Update your import statements to use the new versioned path. All types and methods remain the same, only the import paths have changed.Bytes()helper function for creating []byte pointers.