text/template: add support for optional chaining #43608
It would be beautiful if the package
It would basically look like this:
If service is not defined, it would short-circuit to undefined/false and thus default to "ClusterIP".
This could be used in other cases, such as:
It solves a few things in e.g. Helm that uses
As I know very little about Go and the packge
The text was updated successfully, but these errors were encountered: