-
Notifications
You must be signed in to change notification settings - Fork 250
Go Support #649
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
Comments
We actually did prototype it. We will most likely wait for SAM build to add Go support, please request the feature for Go here: https://github.com/awslabs/aws-lambda-builders |
It looks like aws-lambda-builders supports both dep and modules at this point- any update? |
If I understand go's debugging requirements correctly, it has to be compiled with certain flags to make the build debuggable. aws-lambda-builders currently does not support "debug" artifacts. |
Thanks for the update |
As @abrooksv points out, Go debugging with 1.10 and up works best with these debug flags, I would love to see GoLand support AWS toolkit. |
bump |
This seems like a no brainer. |
+1 |
Any update on this? |
+1 |
pleeeeease |
AWS SAM now supports go build for modules So what are we waiting for ;) |
Is there anything that keeps this from working in Goland? |
Depends on what features you want. The S3 browser would work, but the Lambda debugging feature would not since the internal Lambda extension points have not been implemented for Go. |
Browsing and "deploy this function" would be good enough to get started. I'm not sure whether that's possible from your end but I'd rather have a few of the features than nothing at all. Since this "half-baked install" (sorry, I lack proper words) is quite possible in IntelliJ people are most likely already using this. It's just that Goland is excluded. I know nothing about JetBrains plugin development but I'd guess it's just some sort of descriptor that says whether this plugin is supposed to work. Do you think it is possible to let Goland get this via normal plugin mechanisms soon-ish? I'd rather not have to wait another year because of external dependencies and enjoy better integration with the overall toolchain. Debugging, it seems, is not possible whether I have the plugin available to me or not (I hope I'm understanding this correctly). |
@serverhorror What are you referring to when you say "half-baked install"? |
Sorry that was bad wording on my side. I'm not a native speaker and that wasn't meant to come over negative! (Let me try again ;) ) Sorry again, my fingers were way faster than my brain. I promise to try and do better -- I live the toolkit in JetBrains and will definitely pay you a beverage of your choice if you ever come to Vienna. (Sorry can't offer any other sorts of bribes) |
No offense taken, was just asking for clarification. |
+1 to supporting Goland IDE |
We have enabled listing of the plugin in Goland. To be clear, there are no Go specific features, but the features like S3 browser and CloudWatch logs are available. |
@abrooksv, is there full Go support in the roadmap for the AWS Toolkit? |
Any update on running/debugging golang lambda locally in goland? |
I have the AWS Toolkit installed in GoLand and it looks like it is getting closer to full support of Go. Is this the best issue to follow for tracking progress? I'm specifically hoping to be able to run my SAM Lambdas and API Gateways with IDEA Run Configs. The "play" gutter icons appear in the SAM templates and they bring up the (pretty slick looking) run dialog. Unfortunately it shows "Error: The runtime 'go1.x' is unsupported.' in the bottom of the dialog. |
Yes. And we'll update this issue if/when we break out more granular steps. Thanks for the feedback! |
Hmmm, well that's a bad experience, we should show the gutter icon based on the presence of the |
Our first release with Go support has reached our EAP channel. If anyone wants to give it a test drive and let us know of any issues, the link to download it for 2020.3 is https://plugins.jetbrains.com/plugin/11349-aws-toolkit/versions/EAP/115843 |
We're starting to use SAM and it would be useful to have a plugin like this to make development easier but we use primarily Golang for lambdas.
Would it be easy/possible to add support for Goland?
The text was updated successfully, but these errors were encountered: