From f80f7c49e63ddbb1acb7dd365820c84e75ae1a30 Mon Sep 17 00:00:00 2001 From: Collin Guarino Date: Tue, 16 Feb 2016 00:29:26 -0500 Subject: Changed documentation header standard project wide to a less passive voice. --- schedule.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'schedule.go') 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) { -- cgit v1.2.3