Use Utsname from golang.org/x/sys/unix which contains byte array instead of int8/uint8 array members. This allows to simplify the string conversions of these members. |
||
---|---|---|
.. | ||
testdata | ||
info.go | ||
machine.go | ||
topology_test.go |
Use Utsname from golang.org/x/sys/unix which contains byte array instead of int8/uint8 array members. This allows to simplify the string conversions of these members. |
||
---|---|---|
.. | ||
testdata | ||
info.go | ||
machine.go | ||
topology_test.go |