From becc1791848b18f743dc3a48ace3c78dbf2b8210 Mon Sep 17 00:00:00 2001 From: Ryan Cavicchioni Date: Sat, 29 Feb 2020 15:58:20 -0600 Subject: [PATCH] move light struct --- lights.go | 2 ++ structs.go | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lights.go b/lights.go index f287cbc..3b0dbd8 100644 --- a/lights.go +++ b/lights.go @@ -8,6 +8,8 @@ import ( ) type ( + Status string + State struct { Power string `json:"power,omitempty"` Color Color `json:"color,omitempty"` diff --git a/structs.go b/structs.go index 8a608de..1a7e5f6 100644 --- a/structs.go +++ b/structs.go @@ -12,8 +12,6 @@ type ( ) type ( - Status string - RGBColor struct { R, G, B uint8 }