Hi! 1. Does anyone have more info on ETA on suppor...
# help
b
Hi! 1. Does anyone have more info on ETA on support for CDK with golang? Where can I view this info? 2. Are functions with Image type supported?
t
We support golang projects and golang functions but defining your stacks will likely always be in typescript
TS provides the best experience for CDK currently since it has the most advanced type system of CDK supported languages
Here's something like SST that's for full stack golang: https://www.mantil.com/
However I'd strongly suggest trying out SST with TS, you can stick to Go for your functions
b
thanks @thdxr! Based on your first statement, does it mean CDK golang support work is dropped? I just saw that it is coming soon according to docs here and now curious whether it will ever make it. I'll try with TS in meantime. Do you know whether I can use Function of Image type instead of Zip type with sst?
t
Maybe I shouldn't speak for the whole team, just that our focus right now has been on Typescript and there currently isn't an obvious path to supporting Go
You can use an Image function but it won't be an
sst.Function
- would have to be a normal cdk function and won't have hot reload
b
ah, got it. Thanks for clarifying @thdxr
k
FYI, we are using SST with TS CDK and Go for Lambdas. Working pretty well so far, with the exception of breakpoints on live lambda doesn’t seem to work with go.