If you want to access our US Street Address API or US ZIP Code API from an application written in the Go programming language, the SmartyStreets Go SDK can make it a lot easier. Our Go SDK includes ready-made data structures and takes care of all the gritty, low-level HTTP intricacies for you.
The easiest way to get your giddy hands on this goodness is by using the go command at the terminal.
go get -t -u github.com/smartystreets/smartystreets-go-sdk
You can then import the SDK packages in your Go project. (See the examples below.)
You can download the source code from the SmartyStreets Go SDK repository on Github.
If you're new to the Go community, do yourself a favor and learn about godoc and godoc.org. The Go SDK makes use of godoc conventions for documenting source code, which you can read by downloading the source code or perusing the auto-generated documentation for each package in the SDK:
Here are a few examples showing how to use the Go SDK: