Skip to content

Commit

Permalink
Applying go fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kellydunn committed May 5, 2015
1 parent a58b343 commit 8c13761
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions google_geocoder.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (

// This struct contains all the funcitonality
// of interacting with the Google Maps Geocoding Service
type GoogleGeocoder struct{
type GoogleGeocoder struct {
HttpClient *http.Client
}

Expand Down Expand Up @@ -124,7 +124,7 @@ func (g *GoogleGeocoder) extractAddressFromResponse(data []byte) (string, error)
if err != nil {
return "", err
}

if len(res.Results) == 0 {
return "", errors.New("ZERO_RESULTS")
}
Expand Down

0 comments on commit 8c13761

Please sign in to comment.