Join Slack
Powered by
Hello All, I am a beginner to pulumi. Are there te...
# golang
m
magnificent-restaurant-51456
01/05/2021, 8:00 AM
Hello All, I am a beginner to pulumi. Are there texts or videos to start with creating multiple go files for each resource inside a project?
c
creamy-engine-1851
01/05/2021, 9:44 AM
You have some code examples
https://github.com/pulumi/examples#go
But, they are single file setups. Splitting in different file is standard Golang, you'd need to look into Go package if you want them in different folders:
https://medium.com/rungo/everything-you-need-to-know-about-packages-in-go-b8bac62b74cc
3
Views
Open in Slack
Previous
Next