mirror of
https://github.com/cjbassi/gotop.git
synced 2025-04-25 13:49:00 +08:00
Fix C import; Closes #71
This commit is contained in:
parent
e596d524e5
commit
a2d80c8282
@ -4,11 +4,8 @@ package widgets
|
||||
|
||||
// #cgo LDFLAGS: -framework IOKit
|
||||
// #include "include/smc.c"
|
||||
import (
|
||||
"C"
|
||||
|
||||
"github.com/cjbassi/gotop/src/utils"
|
||||
)
|
||||
import "C"
|
||||
import "github.com/cjbassi/gotop/src/utils"
|
||||
|
||||
type TemperatureStat struct {
|
||||
SensorKey string `json:"sensorKey"`
|
||||
|
Loading…
x
Reference in New Issue
Block a user