Skip to content

Commit

Permalink
Rename IssuingCardShipping's Eta to ETA to fit conventions
Browse files Browse the repository at this point in the history
Convention throughout Go and this library is to upcase field names that
are acronyms. Here we do that for "ETA". We are changing its type anyway
in #661, so it's a good time to make this change.
  • Loading branch information
brandur committed Aug 17, 2018
1 parent 1e575d9 commit 193b59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion issuing_card.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ type IssuingCardAuthorizationControls struct {
type IssuingCardShipping struct {
Address *Address `json:"address"`
Carrier string `json:"carrier"`
Eta int64 `json:"eta"`
ETA int64 `json:"eta"`
Name string `json:"name"`
Phone string `json:"phone"`
Status IssuingCardShippingStatus `json:"status"`
Expand Down

0 comments on commit 193b59c

Please sign in to comment.