https://pulumi.com logo
#golang
Title
# golang
g

glamorous-television-20475

10/25/2019, 2:27 PM
Hello all, just starting out with Pulumi. After some wrestling with it a little, I was able to get the aws-go-s3-folder example to work. Looking at the code, it appears all the
*Args
classes use
interface{}
instead of building out real types, is there a reason for that approach? I assume it’s to check for
nil
but it kind of feels like you lose the benefits of using a strongly typed language when you set everything to be an
interface{}
.
b

broad-dog-22463

10/25/2019, 2:31 PM
Hi @glamorous-television-20475 So the go support isn’t by any means complete. This is very much an area we need to be better with so it will change in the future I’m sorry it’s not quite there yet P.
g

glamorous-television-20475

10/25/2019, 2:32 PM
Ah, totally understand. I guess I was wondering if that is something that you guys are looking at fleshing out? or if it was the approach you were planning on taking? I’m okay with using TypeScript for now since it seems like there’s a bit more support on that.
b

broad-dog-22463

10/25/2019, 2:33 PM
We will definitely be looking at improving this area - you are not the first to raise it - this is why we are classing Go as in preview mode for now - it definitely needs more work
g

glamorous-television-20475

10/25/2019, 2:37 PM
Sweet. I was looking at the Github issues and noticed the https://github.com/pulumi/pulumi/issues/1614 which looked pretty stale at this point. Is there a better place to look to get a better understanding at what work is being planned or what needs to be done with regards to Golang?
b

broad-dog-22463

10/25/2019, 2:47 PM
No at this moment but please so weigh in on that issue so we know it’s still a thing people want :)
👍 1
g

glamorous-television-20475

10/25/2019, 2:52 PM
Thanks for your time!
3 Views