docs: fix 53 typos in Go doc comments and error messages - #180
Open
Avicennasis wants to merge 1 commit into
Open
docs: fix 53 typos in Go doc comments and error messages#180Avicennasis wants to merge 1 commit into
Avicennasis wants to merge 1 commit into
Conversation
Fix Go doc convention violations (third-person singular verbs), grammar errors, and typos across 5 files: - client/options.go: "set" → "sets" in 9 With* function docs, "SDKs" → "SDK's" - types/slice.go: "return" → "returns" in 10 docs, "deference" → "dereference" - types/string.go: "check" → "checks" in 7 docs, "implement" → "implements", "cant" → "can't", "exist" → "exists", "greater or equal than" grammar - types/number.go: same patterns as string.go plus "cant" → "can't" - types/int.go: "cant cast to a integer" → "can't cast to an integer", "to a int64" → "to an int64", plus same doc patterns
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fix Go doc convention violations, grammar errors, and typos across 5 files:
client/options.go:
With*function doc comments (Go convention: third-person singular)types/slice.go:
validateSlicecommenttypes/string.go:
Stringdoc commentMatchdoc commentIndoc commenttypes/number.go:
return/check/existpatterns as abovetypes/int.go:
intOperatordoc commentNo functional changes — doc comments and error message strings only. No test assertions reference the old error strings.