Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #1538 add hasPrefix and hasSuffix template funcs #1539

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maks56893
Copy link

No description provided.

@maks56893 maks56893 changed the title add hasPrefix and hasSuffix template funcs fix: #1539 add hasPrefix and hasSuffix template funcs Apr 12, 2024
@maks56893 maks56893 changed the title fix: #1539 add hasPrefix and hasSuffix template funcs fix: #1538 add hasPrefix and hasSuffix template funcs Apr 12, 2024
@deefdragon
Copy link
Contributor

As a side note, these differ from the sprig template functions (see #1536 where sprig is discussed) in parameter ordering. I believe this is to allow pipe-lining easier in the templates. In sticking with sprig ordering, vs making the template functions added better match their golang counterparts, I think I lean slightly towards the latter.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants