fix typos in pkg
Signed-off-by: allencloud <allen.sun@daocloud.io>
This commit is contained in:
parent
3f3ba02798
commit
b8047bf930
10 changed files with 12 additions and 12 deletions
|
@ -36,7 +36,7 @@ const (
|
|||
|
||||
var sysinfo systeminfo
|
||||
|
||||
// runtimeArchitecture get the name of the current architecture (x86, x86_64, …)
|
||||
// runtimeArchitecture gets the name of the current architecture (x86, x86_64, …)
|
||||
func runtimeArchitecture() (string, error) {
|
||||
syscall.Syscall(procGetSystemInfo.Addr(), 1, uintptr(unsafe.Pointer(&sysinfo)), 0, 0)
|
||||
switch sysinfo.wProcessorArchitecture {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue