aboutsummaryrefslogtreecommitdiff
path: root/schedule.go
diff options
context:
space:
mode:
authorCollin Guarino <collin.guarino@gmail.com>2016-02-16 00:29:26 -0500
committerCollin Guarino <collin.guarino@gmail.com>2016-02-16 00:29:26 -0500
commitf80f7c49e63ddbb1acb7dd365820c84e75ae1a30 (patch)
treea279af648915b4d11b079a8b6d1b29aa9f26fef7 /schedule.go
parent699afeb32d1936d059bcbe8a092a142c523819cc (diff)
Changed documentation header standard project wide to a less passive voice.
Diffstat (limited to 'schedule.go')
-rw-r--r--schedule.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/schedule.go b/schedule.go
index 5097c79..5f9ca38 100644
--- a/schedule.go
+++ b/schedule.go
@@ -32,7 +32,7 @@ type Schedule struct {
ID string
}
-// Bridge.GetAllSchedules will get Alarms and Timers in a Schedule struct.
+// Bridge.GetAllSchedules gets Alarms and Timers in a Schedule struct.
func (bridge *Bridge) GetAllSchedules() ([]Schedule, error) {
uri := fmt.Sprintf("/api/%s/schedules", bridge.Username)
body, _, err := bridge.Get(uri)
@@ -57,7 +57,7 @@ func (bridge *Bridge) GetAllSchedules() ([]Schedule, error) {
return scheduleList, nil
}
-// Bridge.GetSchedule will get the attributes for an individual schedule.
+// Bridge.GetSchedule gets the attributes for an individual schedule.
// This is used to optimize time when updating the state of a schedule item.
// Note: The ID is not an index, it's a unique key generated for each schedule.
func (bridge *Bridge) GetSchedule(id string) (Schedule, error) {