Skip to content

Conversation

K4L1Ma
Copy link

@K4L1Ma K4L1Ma commented Mar 18, 2024

This pull request enables the utilization of goImport as a source for generating mocks. It enhances the flexibility and usability of the package by allowing developers to seamlessly create mocks from external dependencies, specifically those imported using goImport.

relates to #79

this

moq -out snsapi_mocks_test.go -pkg mypkg $(go list -f '{{.Dir}}' github.com/aws/aws-sdk-go-v2/service/sns/snsiface) SNSAPI

can now be generated as

moq -out snsapi_mocks_test.go -pkg mypkg github.com/aws/aws-sdk-go-v2/service/sns/snsiface SNSAPI

@K4L1Ma K4L1Ma force-pushed the allow-srcDir-goImport branch 7 times, most recently from 2da0f05 to 9c81ec4 Compare March 19, 2024 15:24
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