I’m interested in how to create reusable packages ...
# golang
c
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
c
Ahh! Thanks! I didn’t know about components. Will need to do some research :)