go-sprout / sprout

From sprig to sprout - Useful template functions for Go templates with steroids
https://sprout.atom.codes
MIT License
86 stars 4 forks source link

proposal: add WithRegistries and WithRegistry opts #67

Closed 42atomys closed 2 days ago

42atomys commented 3 days ago

You have a proposal, explain it!

It seems that we currently cannot use Opts to add registries to the Sprout handler. This appears to be an oversight.

Describe the solution you'd like

We should be able to pass registries via Opts when initializing the Sprout handler.

With WithRegsitry / WithRegistries options

Additional context

No response

Code of Conduct