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

Add FuncMapWithName() #2

Merged
merged 1 commit into from
Jan 23, 2025
Merged

Add FuncMapWithName() #2

merged 1 commit into from
Jan 23, 2025

Conversation

fujiwara
Copy link
Owner

This pull request introduces a new function to the ssm package and adds corresponding tests. The main changes include the addition of a new function FuncMapWithName and a test case for it.

New Functionality:

  • ssm/funcs.go: Added the FuncMapWithName function to allow creating a template.FuncMap with a custom name for the function.

Testing:

  • ssm/funcs_test.go: Added a new test case TestFuncMap to verify the functionality of both FuncMap and FuncMapWithName.

@fujiwara fujiwara merged commit d91ee41 into main Jan 23, 2025
2 checks passed
@fujiwara fujiwara deleted the funcmap-withname branch January 23, 2025 06:38
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.

1 participant