app.go
changeset 159 408aa794d9bb
parent 155 0c581e0108da
child 162 68df3a01e1a7
equal deleted inserted replaced
158:083d33bb419b 159:408aa794d9bb
    14 
    14 
    15 	"github.com/sendgrid/rest"
    15 	"github.com/sendgrid/rest"
    16 )
    16 )
    17 
    17 
    18 type registerApp struct {
    18 type registerApp struct {
    19 	ID           int    `json:"id"`
    19 	ID           int64  `json:"id"`
    20 	ClientID     string `json:"client_id"`
    20 	ClientID     string `json:"client_id"`
    21 	ClientSecret string `json:"client_secret"`
    21 	ClientSecret string `json:"client_secret"`
    22 }
    22 }
    23 
    23 
    24 // buildInstanceURL creates the URL from the instance name or cleans up the
    24 // buildInstanceURL creates the URL from the instance name or cleans up the