Skip to content

Commit

Permalink
Updated ACP example.
Browse files Browse the repository at this point in the history
  • Loading branch information
Bryan Amundson committed Nov 13, 2023
1 parent 1d1ea04 commit eceded1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions examples/us-autocomplete-pro-api/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,11 @@ func main() {
// https://smartystreets.com/docs/cloud/us-autocomplete-api#http-request-input-fields

lookup := &autocomplete_pro.Lookup{
Search: "1042 W Center",
Search: "104",
MaxResults: 5,
CityFilter: []string{"Denver", "Orem"},
StateFilter: []string{"CO", "UT"},
CityFilter: []string{"Denver,Aurora,CO", "Provo,UT"},
PreferState: []string{"CO"},
PreferRatio: 3,
Geolocation: autocomplete_pro.GeolocateCity,
Source: "all",
}

Expand Down

0 comments on commit eceded1

Please sign in to comment.