From ca632c436ca03c97e30e9969fecd12000a6911f8 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Mon, 8 Feb 2016 22:32:45 -0500 Subject: Fixed documentation capitalization for Light struct. --- light.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/light.go b/light.go index 565feca..ab0afe8 100644 --- a/light.go +++ b/light.go @@ -51,17 +51,17 @@ type LightState struct { XYIncrement *[2]float32 `json:"xy_inc,omitempty"` } -// light.Off will turn the light source off +// Light.Off will turn the light source off func (self *Light) Off() error { return SetLightState(self, LightState{On: false}) } -// light.Off will turn the light source on +// Light.Off will turn the light source on func (self *Light) On() error { return SetLightState(self, LightState{On: true}) } -// light.Toggle will toggle the light source on and off +// Light.Toggle will toggle the light source on and off func (self *Light) Toggle() error { if self.State.On { return self.Off() -- cgit v1.2.3