@@ -321,7 +321,7 @@ Objects are represented by the `Object` interface:
321
321
322
322
The first four methods are straightforward; we'll explain the other
323
323
three later.
324
- ` Name ` returns the objects 's name---an identifier.
324
+ ` Name ` returns the object 's name---an identifier.
325
325
` Exported ` is a convenience method that reports whether the first
326
326
letter of ` Name ` is a capital, indicating that the object may be
327
327
visible from outside the package.
@@ -1086,7 +1086,7 @@ named types for the purposes of assignability, even though the type
1086
1086
checker does not represent them using ` Named ` .
1087
1087
And ` unsafe.Pointer ` is a pointer type for the purpose of
1088
1088
determining whether the receiver type of a method is legal, even
1089
- though the type checker does not represet it using ` Pointer ` .
1089
+ though the type checker does not represent it using ` Pointer ` .
1090
1090
1091
1091
1092
1092
@@ -1151,7 +1151,7 @@ An anonymous field is represented like a regular field, but its
1151
1151
1152
1152
1153
1153
1154
- One subtlety is relevent to tools that generate documentation.
1154
+ One subtlety is relevant to tools that generate documentation.
1155
1155
When analyzing a declaration such as this,
1156
1156
1157
1157
@@ -1377,7 +1377,7 @@ satisfaction:
1377
1377
func MissingMethod(V Type, T *Interface, static bool) (method *Func, wrongType bool)
1378
1378
1379
1379
1380
- The ` Implements ` predicate reports whether a type satisifies an
1380
+ The ` Implements ` predicate reports whether a type satisfies an
1381
1381
interface type.
1382
1382
` MissingMethod ` is like ` Implements ` , but instead of
1383
1383
returning false, it explains why a type does not satisfy the
@@ -1737,7 +1737,7 @@ is a subtle consequence of the
1737
1737
section in the Go spec: "Two
1738
1738
identifiers are different if they are spelled differently, or if they
1739
1739
appear in different packages and are not exported."
1740
- In practical terms, this means that a type may have have two methods
1740
+ In practical terms, this means that a type may have two methods
1741
1741
(or two fields, or one of each) both named ` f ` so long as those
1742
1742
methods are defined in different packages, as in this example:
1743
1743
@@ -1843,7 +1843,7 @@ If you only need a single method, don't construct the
1843
1843
1844
1844
1845
1845
The next program generates a boilerplate
1846
- declaration of a new concrete type that satisifies an existing
1846
+ declaration of a new concrete type that satisfies an existing
1847
1847
interface.
1848
1848
Here's an example:
1849
1849
0 commit comments