Skip to content

Commit

Permalink
ran gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
bradrydzewski committed Jun 4, 2012
1 parent 4352c49 commit 5502a6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion token.go
Expand Up @@ -32,7 +32,7 @@ type TokenParams struct {
// see https://stripe.com/docs/api#create_token
func (self *TokenClient) Create(params *TokenParams) (*Token, error) {
token := Token{}
values := url.Values{ "currency" : {params.Currency}}
values := url.Values{"currency": {params.Currency}}
appendCardParamsToValues(params.Card, &values)

err := query("POST", "/v1/tokens", values, &token)
Expand Down
2 changes: 1 addition & 1 deletion util.go
Expand Up @@ -80,7 +80,7 @@ func (self *String) UnmarshalJSON(data []byte) error {
}

str, err := strconv.Unquote(str)
if err != nil {
if err != nil {
return err
}

Expand Down

0 comments on commit 5502a6d

Please sign in to comment.