$ go get github.com/bluettipower/fedex
import "github.com/bluettipower/fedex"
func main() {
// new client
client := fedex.NewFedExClient("your clientID","your clientSecret")
// new Shipment
data := fedex.Shipment{
// Your data ...
}
// Create Shipment
shipment,err := client.Create(data)
// ...
}
// ...
client := NewFedExClient("your clientID", "your clientSecret", WithSandbox(true))
// ...