diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-08 22:32:45 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-08 22:32:45 -0500 |
commit | ca632c436ca03c97e30e9969fecd12000a6911f8 (patch) | |
tree | a7331192b9b7cd10b7b312c119274e6147339f31 | |
parent | abceafb4b9a9551f0c237f3435c3f3d9e0f224d8 (diff) |
Fixed documentation capitalization for Light struct.
-rw-r--r-- | light.go | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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() |