From 180ac20eeabf354434a0dc76b759e3f6dcee8653 Mon Sep 17 00:00:00 2001 From: William Clark Date: Thu, 23 Nov 2023 16:57:28 +0000 Subject: [PATCH] remove unused code --- db/adapter.go | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/db/adapter.go b/db/adapter.go index 35fd2fa..6a31e55 100644 --- a/db/adapter.go +++ b/db/adapter.go @@ -4,25 +4,10 @@ import ( "errors" "fmt" "th7/data/config" - "th7/data/thermocouple" "th7/ports" "time" ) -var ( - thermocoupleTypes = map[string]thermocouple.Type{ - "B": thermocouple.B, - "E": thermocouple.E, - "J": thermocouple.J, - "K": thermocouple.K, - "N": thermocouple.N, - "R": thermocouple.R, - "S": thermocouple.S, - "T": thermocouple.T, - "U": thermocouple.None, // for uV measurements - } -) - func NewAdapter(corePort ports.CorePort, cfg config.Config) (ports.DBPort, error) { var duration time.Duration