We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6950ba commit f76f47dCopy full SHA for f76f47d
internal/generate/endpoints/main.go
@@ -73,7 +73,7 @@ func main() {
73
74
td := TemplateData{}
75
templateFuncMap := template.FuncMap{
76
- // 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.
77
"IDToTitle": func(s string) (string, error) {
78
parts := strings.Split(s, "-")
79
if len(parts) == 1 {
0 commit comments