Skip to content

cat /sys/class/thermal/thermal_zone0/temp as Go Module.

License

Notifications You must be signed in to change notification settings

tmsmr/pithermal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pithermal

cat /sys/class/thermal/thermal_zone0/temp as Go Module.

Usage

import "github.com/tmsmr/pithermal"

...

temp, err := pithermal.GetCpuTemp()
if err != nil {
    panic(err)
}

Not worth a Module at the moment, but there may be more features in the future...

About

cat /sys/class/thermal/thermal_zone0/temp as Go Module.

Topics

Resources

License

Stars

Watchers

Forks

Languages