fix(deps): update module github.com/cweill/gotests to v1.8.0 #189
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.
This PR contains the following updates:
v1.7.4->v1.8.0Release Notes
cweill/gotests (github.com/cweill/gotests)
v1.8.0: - Full Go Generics SupportCompare Source
🎉 Full Go Generics Support
This release adds complete support for Go generics (type parameters), enabling
goteststo generate tests for generic functions and methods on generic types.✨ Key Features
🔧 Generic Functions: Generate tests for functions with type parameters
🏗️ Generic Types: Support for methods on generic types
🎯 All Constraint Types:
any,comparable, union types (int64 | float64), approximation (~int)🧠 Smart Type Mapping: Intelligent defaults for type instantiation
any→intcomparable→string🔄 Multiple Type Parameters: Handles functions like
Pair[T, U any]📊 Test Coverage
🔧 Technical Improvements
Parser Enhancements:
parseTypeDecls()extracts type parameters from type declarationsparseTypeParams()parses AST field listsextractBaseTypeName()handles receiver typesTemplate Functions:
TypeArgs- generates concrete type arguments for callsFieldType- substitutes type parameters in field declarationsReceiverType- substitutes type parameters in receiver instantiationsModel Updates:
TypeParamstructTypeParamsfield toFunctionIsGeneric(),HasGenericReceiver()📚 Documentation
Added comprehensive "Go Generics Support" section to README with:
🐛 Fixes
Closes #165
📦 Installation
🙏 Credits
🤖 Developed with assistance from Claude Code
Full Changelog: cweill/gotests@v1.7.0...v1.8.0
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.