22
22
23
23
// varMode describes the lifetime of an argument or
24
24
// return value. Modes are used to guide the conversion
25
- // of string and byte slice values accross the language
25
+ // of string and byte slice values across the language
26
26
// barrier. The same conversion mode must be used for
27
27
// both the conversion before a foreign call and the
28
28
// corresponding conversion after the call.
@@ -35,7 +35,7 @@ const (
35
35
// modeTransient are for function arguments that
36
36
// are not used after the function returns.
37
37
// Transient byte slices don't need copying
38
- // when passed accross the language barrier.
38
+ // when passed across the language barrier.
39
39
modeTransient varMode = iota
40
40
// modeRetained are for returned values and for function
41
41
// arguments that are used after the function returns.
@@ -54,7 +54,7 @@ func (list ErrorList) Error() string {
54
54
return buf .String ()
55
55
}
56
56
57
- // interfaceInfo comes from Init and collects the auxillary information
57
+ // interfaceInfo comes from Init and collects the auxiliary information
58
58
// needed to generate bindings for an exported Go interface in a bound
59
59
// package.
60
60
type interfaceInfo struct {
@@ -63,7 +63,7 @@ type interfaceInfo struct {
63
63
summary ifaceSummary
64
64
}
65
65
66
- // structInfo comes from Init and collects the auxillary information
66
+ // structInfo comes from Init and collects the auxiliary information
67
67
// needed to generate bindings for an exported Go struct in a bound
68
68
// package.
69
69
type structInfo struct {
0 commit comments