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 {
218218 return major
219219}
220220
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
222222// endian, but for example MIPS can be big-endian.
223223func ByteOrder (target string ) binary.ByteOrder {
224224 if strings .HasPrefix (target , "mips-" ) {
Original file line number Diff line number Diff line change @@ -12,7 +12,6 @@ package os
1212import (
1313 "io"
1414 "syscall"
15- _ "unsafe"
1615)
1716
1817const DevNull = "/dev/null"
Original file line number Diff line number Diff line change @@ -81,8 +81,8 @@ func (it *MapIter) Next() bool {
8181 return ((* reflectlite .MapIter )(it )).Next ()
8282}
8383
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 )
8686}
8787
8888func (v Value ) Set (x Value ) {
You can’t perform that action at this time.
0 commit comments