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

feat: add strings capitalization functions #62

Closed 42atomys closed 3 weeks ago

42atomys commented 3 weeks ago

Description

When we manipulate strings in template, we need sometimes to capitalize or uncapitalize a string. A good example are when we manipulate go file and want to turn public/private functions.

Changes

Checklist

codecov[bot] commented 3 weeks ago

Codecov Report

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

Files Coverage Δ
registry/strings/functions.go 100.0% <100.0%> (ø)
registry/strings/strings.go 96.2% <100.0%> (+0.1%) :arrow_up:
42atomys commented 3 weeks ago

@ccoVeille I have reached you trough LinkedIn about your contributions :)

ccoVeille commented 3 weeks ago

@ccoVeille I have reached you trough LinkedIn about your contributions :)

👍

You can also reach me on slack gopher

https://gophers.slack.com/team/U03FE6TMKPX