![]() This changes platforms.Parse to hit /proc to look up CPU info only when it's needed, instead of in init(). This makes the package a bit easier for other packages to consume, especially clients that don't call platforms.Parse or need to lookup CPU info. Signed-off-by: Jason Hall <jasonhall@redhat.com> |
||
---|---|---|
.. | ||
compare_test.go | ||
compare.go | ||
cpuinfo_test.go | ||
cpuinfo.go | ||
database.go | ||
defaults_test.go | ||
defaults_unix.go | ||
defaults_windows.go | ||
defaults.go | ||
platforms_test.go | ||
platforms.go |