Repository navigation
Properly handle errors - #132
Conversation
|
@mattfarina @technosophos |
|
I am torn on this PR because it fixes a number of things that I think need to be fixed, but it significantly changes the public API -- which means we'd have to rev the major version number. Thoughts, @mattfarina ? |
|
I want to think through the idea of incrementing the major version. Here is a list of public packages that use sprig. I'm sure this isn't complete as everything doesn't land in godoc. When I look at the list I wonder about the impact to Traefik, OpenShift, the things Rancher is doing, and others. Is this change worth incrementing the public API for them? Is there another set of public API changes we might want to make to increase the value of changing the API? I also got to learn about https://www.runatlantis.io/ by looking at who uses it. |
…operly-handle-errors Signed-off-by: Nick Revin <[email protected]>
Signed-off-by: Nick Revin <[email protected]>
|
@nrvnrvn I pulled your commits into #189 and then made some changes. The public Go API is no longer changed. There are now two sets of functions. Those with the previous behavior and those prefixed with This was automatically marked as merged because the commits were merged. Thanks for the work. |
|
Thanks a lot @mattfarina |
mustDateModify,mustToDate,mustToJson,mustToPrettyJson,mustMerge(fixes Silently omitting errors #115);