-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Upgrade Go version to support realworld sample #13803
Comments
So what is the issue that is happening? What does not work? |
@tsmaeder I think it's pretty well explained. it's using go modules that are not available in go 1.10 but 1.11 and afterwards |
Yes, but what are the consequences? Does code assist not work? Do we have unexpected errors in the editor? |
I'm not sure exactly. I guess project won't compile at all (https://travis-ci.org/xesina/golang-echo-realworld-example-app/builds/531131833?utm_source=github_status&utm_medium=notification). |
Assuming that the project is not building at all. For GA: we are happy with the simple sample that we already have |
I was looking at this and I'm able to build and run the project with Go 1.10.7 with tasks. However, editor is not working correctly. No code assist, no 'go to definition', ... I guess that's because go plugin can't find the dependencies for the project as they are inside
(hope it does make sense) |
@sparkoo could you file an issue describing the issue with the sample that we will ship with 7.0.0? In my mind, we can just fix it by setting the proper gopath values in the devfile. |
Downgrading to 7.3 as #13823 has been adressed |
So let's update to the newest go versions. We need to:
|
This PR [1] is closed. We have to consider using a sample which contains front-end part as well as back-end. For instance go-guestbook [2]. It requires using side-car container with installed go v1.13 Observable issues: [1] eclipse-che/che-devfile-registry#96 |
Issues go stale after Mark the issue as fresh with If this issue is safe to close now please do so. Moderators: Add |
This one is still relevant but low priority. |
using multiple workspace root I had no issue (here is experiment of last month) : https://gist.github.com/benoitf/57ffa7e39e2e16a6a2f6756a44693e43 |
PR merged. Devfile tests will need to be updated to include the new task names cc @rhopp |
Description
According to #13529, we would like to have https://github.com/xesina/golang-echo-realworld-example-app as a Go sample project. There is an issue with Go versions as the project uses modules, thus needs Go v1.11+. However, our Che Go plugin uses v1.10.7.
Currently I can think of several options for us:
We should decide what way to go and whether we want this in 7.0.0 GA
The text was updated successfully, but these errors were encountered: