Super noob question here... I'm writing my first P...
# golang
p
Super noob question here... I'm writing my first Pulumi program in Go and am having some trouble getting an int (specifically
0
) to become an IntInput. I have tried:
Copy code
pulumi.IntInput(0)
and
Copy code
var zero int = 0
pulumi.IntInput(zero)
and
Copy code
pulumi.IntInput(pulumi.Input(0))
with no success 😕 I think I'm missing something fundamental here so if anyone has a moment to help clear this up for me that would be great!
b
How about just pulumi.Int(0)
p
🤦‍♂️ that worked!! Thanks @bored-table-20691 😄
I was overcomplicating things I think lol
b
Awesome 🙂