-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Clue Mock Gen package name conflict (#259)
- Fix a bug where an alias is not used for the mocked package if it conflicts with one of the other intial imports (this was discovered with a package named `testing`, but it looks like it could also come up if it was named `mock` which would conflict with `goa.design/clue/mock`. - Bump version so it will be correct for a new release.
- Loading branch information
1 parent
0005d44
commit b014793
Showing
6 changed files
with
75 additions
and
13 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package testing | ||
|
||
type ( | ||
Conflicts interface { | ||
Simple(c *Conflicts) *Conflicts | ||
} | ||
) |
52 changes: 52 additions & 0 deletions
52
mock/cmd/cmg/pkg/generate/_tests/conflicts/mocks/conflicts.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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