Documentation ¶
Overview ¶
Package cpubenchmarknet is an unofficial library for downloading the CPU Mega List dataset by PassMark Software.
Example (Basic) ¶
package main import ( "fmt" "github.com/elliotwutingfeng/cpubenchmarknet" ) func main() { CPUMegaList, err := cpubenchmarknet.GetCPUMegaList() if err == nil { fmt.Println(CPUMegaList) // JSON string } else { fmt.Println(err) } }
Output:
Index ¶
Examples ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCPUMegaList ¶
GetCPUMegaList downloads CPU Mega List from cpubenchmark.net and returns its contents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.