Skip to content

Commit

Permalink
ident: fix a typo in 'identifier'
Browse files Browse the repository at this point in the history
GitHub-Pull-Request: shurcooL#108
  • Loading branch information
alexandear authored Jul 12, 2023
1 parent 24ceaa0 commit 85bf0c3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ident/ident.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ func ParseScreamingSnakeCase(name string) Name {
// Name is an identifier name, broken up into individual words.
type Name []string

// ToMixedCaps expresses identifer name in MixedCaps naming convention.
// ToMixedCaps expresses identifier name in MixedCaps naming convention.
//
// E.g., "ClientMutationID".
func (n Name) ToMixedCaps() string {
Expand All @@ -141,7 +141,7 @@ func (n Name) ToMixedCaps() string {
return strings.Join(n, "")
}

// ToLowerCamelCase expresses identifer name in lowerCamelCase naming convention.
// ToLowerCamelCase expresses identifier name in lowerCamelCase naming convention.
//
// E.g., "clientMutationId".
func (n Name) ToLowerCamelCase() string {
Expand Down

0 comments on commit 85bf0c3

Please sign in to comment.