Skip to content

Commit

Permalink
Merge pull request #1 from elithrar/pkg-fixes
Browse files Browse the repository at this point in the history
Fixed package decl + JSON tag issues (via go vet).
  • Loading branch information
jamesog committed Jan 11, 2016
2 parents e91fb2a + 4b6eb2f commit a3e5908
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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

0 comments on commit a3e5908

Please sign in to comment.