-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/gen: Create generator for enum.go.
Generating all of enum.go has proven that this approach won't work. There are many name collisions, because different enum types share same enum value names. # github.com/shurcooL/githubql ./enum.go:71: CreatedAt redeclared in this block previous declaration at ./enum.go:17 ./enum.go:111: Open redeclared in this block previous declaration at ./enum.go:8 ./enum.go:112: Closed redeclared in this block previous declaration at ./enum.go:9 ./enum.go:120: CreatedAt redeclared in this block previous declaration at ./enum.go:71 ./enum.go:121: UpdatedAt redeclared in this block previous declaration at ./enum.go:18 ./enum.go:149: CreatedAt redeclared in this block previous declaration at ./enum.go:120 ./enum.go:150: UpdatedAt redeclared in this block previous declaration at ./enum.go:121 ./enum.go:152: Name redeclared in this block previous declaration at ./enum.go:19 ./enum.go:170: Open redeclared in this block previous declaration at ./enum.go:111 ./enum.go:171: Closed redeclared in this block previous declaration at ./enum.go:112 ./enum.go:171: too many errors
- Loading branch information
Showing
4 changed files
with
32,166 additions
and
1 deletion.
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
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
Oops, something went wrong.