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

Fixed package decl + JSON tag issues (via go vet). #1

Merged
merged 1 commit into from
Jan 11, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions cloudflare.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ type User struct {
Telephone string `json:"telephone"`
Country string `json:"country"`
Zipcode string `json:"zipcode"`
CreatedOn string `json:"created_on` // Should this be a time.Date?
CreatedOn string `json:"created_on"` // Should this be a time.Date?
ModifiedOn string `json:"modified_on"`
APIKey string `json:"api_key"`
TwoFA bool `json:"two_factor_authentication_enabled"`
Expand Down Expand Up @@ -204,8 +204,8 @@ type ZoneSetting struct {
ID string `json:"id"`
Editable bool `json:"editable"`
ModifiedOn string `json:"modified_on"`
Value interface{} `json:"value""`
TimeRemaining int `json:"time_remaining""`
Value interface{} `json:"value"`
TimeRemaining int `json:"time_remaining"`
}

type ZoneSettingResponse struct {
Expand Down
2 changes: 1 addition & 1 deletion cmd/flarectl/flarectl.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"strings"

"github.com/codegangsta/cli"
"github.com/jamesog/cloudflare"
"github.com/jamesog/cloudflare-go"
)

var api *cloudflare.API
Expand Down