From a2d80c8282de0568b6538a06ad8af2e6316d098a Mon Sep 17 00:00:00 2001 From: Caleb Bassi Date: Mon, 3 Dec 2018 18:23:07 -0800 Subject: [PATCH] Fix C import; Closes #71 --- src/widgets/temp_darwin.go | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/widgets/temp_darwin.go b/src/widgets/temp_darwin.go index cc14b212..0a660872 100644 --- a/src/widgets/temp_darwin.go +++ b/src/widgets/temp_darwin.go @@ -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"`