Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for querying the events-log plugin #10

Merged
merged 13 commits into from
Aug 2, 2016
Prev Previous commit
Next Next commit
fixing lint issues
  • Loading branch information
opalmer committed Jul 30, 2016
commit 8ec2f659bdcbe7e0251a4f0f260046a5436b0079
3 changes: 1 addition & 2 deletions events.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ type EventInfo struct {
Changer AccountInfo `json:"changer,omitempty"`
}

// EventLogService contains functions for querying the API provided
// EventsLogService contains functions for querying the API provided
// by the optional events-log plugin.
type EventsLogService struct {
client *Client
Expand All @@ -85,7 +85,6 @@ func (events *EventsLogService) getURL(options *EventsLogOptions) (string, error

query := url.Query()


if !options.From.IsZero() {
query.Set("t1", options.From.Format("2006-01-02 15:04:05"))
}
Expand Down