Skip to content

Commit e4a302b

Browse files
committed
Merge pull request jmoiron#228 from flimzy/spelling
Minor spelling corrections
2 parents a7f971f + dc24621 commit e4a302b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

reflectx/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ behavior of standard Go accessors.
1212

1313
The first two are amply taken care of by `Reflect.Value.FieldByName`, and the third is
1414
addressed by `Reflect.Value.FieldByNameFunc`, but these don't quite understand struct
15-
tags in the ways that are vital to most marshalers, and they are slow.
15+
tags in the ways that are vital to most marshallers, and they are slow.
1616

1717
This reflectx package extends reflect to achieve these goals.

reflectx/reflect.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Package reflectx implements extensions to the standard reflect lib suitable
2-
// for implementing marshaling and unmarshaling packages. The main Mapper type
2+
// for implementing marshalling and unmarshalling packages. The main Mapper type
33
// allows for Go-compatible named attribute access, including accessing embedded
44
// struct attributes and the ability to use functions and struct tags to
55
// customize field names.
@@ -231,7 +231,7 @@ func mustBe(v kinder, expected reflect.Kind) {
231231
}
232232
}
233233

234-
// methodName is returns the caller of the function calling methodName
234+
// methodName returns the caller of the function calling methodName
235235
func methodName() string {
236236
pc, _, _, _ := runtime.Caller(2)
237237
f := runtime.FuncForPC(pc)

0 commit comments

Comments
 (0)