...

Source file src/internal/sysinfo/sysinfo_test.go

Documentation: internal/sysinfo

     1  // Copyright 2023 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package sysinfo_test
     6  
     7  import (
     8  	. "internal/sysinfo"
     9  	"testing"
    10  )
    11  
    12  func TestCPUName(t *testing.T) {
    13  	t.Logf("CPUName: %s", CPUName())
    14  	t.Logf("osCPUInfoName: %s", XosCPUInfoName())
    15  }
    16  

View as plain text