From f4eadbf1e1625a21e8ce87f2def92084d9886cef Mon Sep 17 00:00:00 2001 From: Marc-Antoine Ruel Date: Sat, 12 May 2018 16:22:43 -0400 Subject: [PATCH] Follow up on 0bc4d173ac558fb5c2c3171a6 Had forgotten to git add conn/physic/example_test.go. Typoed the replacements in devices/devices.go. --- devices/devices.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/devices/devices.go b/devices/devices.go index 197aff3..e57d30a 100644 --- a/devices/devices.go +++ b/devices/devices.go @@ -51,8 +51,7 @@ type Display interface { // Environment represents measurements from an environmental sensor. // -// Deprecated: This interface will be removed in v3. Use physic.Environment -// instead. +// Deprecated: This interface will be removed in v3. Use physic.Env instead. type Environment struct { Temperature Celsius Pressure KPascal @@ -61,7 +60,7 @@ type Environment struct { // Environmental represents an environmental sensor. // -// Deprecated: This interface will be removed in v3. Use physic.Environmental +// Deprecated: This interface will be removed in v3. Use physic.SenseEnv // instead. type Environmental interface { conn.Resource