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

cuddly-dusk-95227

09/01/2020, 9:29 AM
I’m interested in how to create reusable packages for golang projects. Does anyone have any examples on what they think the best way to create higher-level abstractions? My gut feel is to create a type to define the inputs, and use a
New()
helper to take in providers and contexts.
l

lemon-agent-27707

09/01/2020, 3:08 PM
c

cuddly-dusk-95227

09/01/2020, 10:27 PM
Ahh! Thanks! I didn’t know about components. Will need to do some research :)
3 Views