Skip to content

Conversation

@r-hang
Copy link
Contributor

@r-hang r-hang commented Dec 19, 2023

When a package name is "any" mockgen will use that as a package name in the generated code which causes issues due to colliding with Go's "any" type. Update the sanitization logic to prevent this collision.

@r-hang r-hang marked this pull request as draft December 19, 2023 22:30
When a package name is "any" mockgen will use that as a package name
in the generated code which causes issues due to colliding with Go's
"any" type. Update the sanitization logic to prevent this collision.
@r-hang r-hang force-pushed the rhang/any-sanitization branch from b869422 to 5113dab Compare December 19, 2023 22:41
@r-hang r-hang marked this pull request as ready for review December 19, 2023 22:41
@sywhang sywhang merged commit 37f6db3 into main Dec 20, 2023
@sywhang sywhang mentioned this pull request Dec 20, 2023
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.

3 participants