Follow-up of 17478, unexport private method
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
This commit is contained in:
parent
5edb94d724
commit
6b16247685
4 changed files with 7 additions and 7 deletions
|
@ -36,8 +36,8 @@ const (
|
|||
|
||||
var sysinfo systeminfo
|
||||
|
||||
// GetRuntimeArchitecture get the name of the current architecture (x86, x86_64, …)
|
||||
func GetRuntimeArchitecture() (string, error) {
|
||||
// runtimeArchitecture get 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 {
|
||||
case ProcessorArchitecture64, ProcessorArchitectureIA64:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue