-
-
Notifications
You must be signed in to change notification settings - Fork 559
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Go 1.11 Modules by goagen #1933
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thank you! Just one tiny typo.
As a note for goa v2 I'm thinking we need to create a new repo so that import goa.design/goa
can keep working with Go modules (otherwise the go
tool checks out the v1
branch and we'd have to create a v2
folder and move the v2 branch content to it which isn't great).
goagen/codegen/workspace.go
Outdated
@@ -368,6 +406,107 @@ func PackageName(path string) (string, error) { | |||
return pkgNames[0], nil | |||
} | |||
|
|||
// Copeied from cmd/go/internal/modload/init.go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
L425 had a same typo. I fixed both.
Thanks! |
Also this should probably be ported to v1. |
* Support Go 1.11 Modules by goagen * Fix typo
Fixed in #1974 |
* Support Go 1.11 Modules by goagen * Fix typo
Thank you for fixing the tests.
|
hmm yes #1930 should be ported, good catch! |
I have ported #1930 to v1 and retagged v1.4.1, thank you! |
OK. I agree to v1.4.1. |
BTW you should announce v1.4.1 on Twitter. @raphael |
#1914