diff options
author | Collin Guarino <collin.guarino@gmail.com> | 2016-02-16 00:29:26 -0500 |
---|---|---|
committer | Collin Guarino <collin.guarino@gmail.com> | 2016-02-16 00:29:26 -0500 |
commit | f80f7c49e63ddbb1acb7dd365820c84e75ae1a30 (patch) | |
tree | a279af648915b4d11b079a8b6d1b29aa9f26fef7 /scene.go | |
parent | 699afeb32d1936d059bcbe8a092a142c523819cc (diff) |
Changed documentation header standard project wide to a less passive voice.
Diffstat (limited to 'scene.go')
-rw-r--r-- | scene.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -30,7 +30,7 @@ type Scene struct { ID string `json:",omitempty"` } -// Bridge.GetScenes will get attributes for all scenes. +// Bridge.GetScenes gets the attributes for all scenes. func (bridge *Bridge) GetAllScenes() ([]Scene, error) { uri := fmt.Sprintf("/api/%s/scenes", bridge.Username) body, _, err := bridge.Get(uri) @@ -53,7 +53,7 @@ func (bridge *Bridge) GetAllScenes() ([]Scene, error) { return scenesList, nil } -// Bridge.GetScene will get the attributes for an individual scene. +// Bridge.GetScene gets the attributes for an individual scene. // This is used to optimize time when updating the state of the scene. // Note: The ID is not an index, it's a unique key generated for each scene. func (bridge *Bridge) GetScene(id string) (Scene, error) { |