Skip to content

Commit

Permalink
Update internal/generate/endpoints/main.go
Browse files Browse the repository at this point in the history
Co-authored-by: Jared Baker <jar-b@users.noreply.github.com>
  • Loading branch information
ewbankkit and jar-b authored Sep 23, 2024
1 parent f6950ba commit f76f47d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/generate/endpoints/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func main() {

td := TemplateData{}
templateFuncMap := template.FuncMap{
// IDToTitle splits a '-' or '.' saparated string and returns a string with each part title cased.
// IDToTitle splits a '-' or '.' separated string and returns a string with each part title cased.
"IDToTitle": func(s string) (string, error) {
parts := strings.Split(s, "-")
if len(parts) == 1 {
Expand Down

0 comments on commit f76f47d

Please sign in to comment.