File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -218,7 +218,7 @@ func Version() int {
218
218
return major
219
219
}
220
220
221
- // Return the byte order for the given target triple. Most targets are little
221
+ // ByteOrder returns the byte order for the given target triple. Most targets are little
222
222
// endian, but for example MIPS can be big-endian.
223
223
func ByteOrder (target string ) binary.ByteOrder {
224
224
if strings .HasPrefix (target , "mips-" ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ package os
12
12
import (
13
13
"io"
14
14
"syscall"
15
- _ "unsafe"
16
15
)
17
16
18
17
const DevNull = "/dev/null"
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ func (it *MapIter) Next() bool {
81
81
return ((* reflectlite .MapIter )(it )).Next ()
82
82
}
83
83
84
- func (iter * MapIter ) Reset (v Value ) {
85
- (* reflectlite .MapIter )(iter ).Reset (v .Value )
84
+ func (it * MapIter ) Reset (v Value ) {
85
+ (* reflectlite .MapIter )(it ).Reset (v .Value )
86
86
}
87
87
88
88
func (v Value ) Set (x Value ) {
You can’t perform that action at this time.
0 commit comments