-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch to source importing and allow additional imports.
Go 1.5 introduced the 'source' compiler. See golang/go#11415 for details. This avoids the problem of using out of date information when generating code. It also means we don't have to have to run `go install` prior to generating. I also added the ability to specify additional imports since we use codegen to generate files that depend on types outside testify.
- Loading branch information
Showing
1 changed file
with
15 additions
and
7 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