diff options
| author | Jakob Unterwurzacher | 2025-07-07 19:54:48 +0200 | 
|---|---|---|
| committer | Jakob Unterwurzacher | 2025-07-07 19:59:35 +0200 | 
| commit | 8f5df19b353e02ffba842fd1b15ccf93da7ee3b4 (patch) | |
| tree | 8f68b74e56a1d20af82e5093a059d180c925f9be /internal/speed | |
| parent | cdb80ea9825d2e876f1cf579bf960e4da7656b4c (diff) | |
Fix a bunch of staticcheck errors
Tool-assisted.
Diffstat (limited to 'internal/speed')
| -rw-r--r-- | internal/speed/cpuinfo.go | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/internal/speed/cpuinfo.go b/internal/speed/cpuinfo.go index df3177d..636a4f0 100644 --- a/internal/speed/cpuinfo.go +++ b/internal/speed/cpuinfo.go @@ -1,7 +1,7 @@  package speed  import ( -	"io/ioutil" +	"io"  	"os"  	"runtime"  	"strings" @@ -33,7 +33,7 @@ func cpuModelName() string {  	if err != nil {  		return ""  	} -	content, err := ioutil.ReadAll(f) +	content, err := io.ReadAll(f)  	if err != nil {  		return ""  	} | 
