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

fix: camelcase and pascalcase transformation logic #35

Closed 42atomys closed 4 months ago

42atomys commented 4 months ago

Description

In sprig, camelCase return a PascalCase and don't respect the separation logic between both functions.

Changes

Fixes https://github.com/Masterminds/sprig/issues/328

Checklist

Additional Information

This edit are related to https://github.com/Masterminds/sprig/issues/328

Backport ticket from @ghostsquad

codecov[bot] commented 4 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Files Coverage Δ
strings_functions.go 100.0% <100.0%> (ø)