app.go
changeset 66 965586c1e3ed
parent 65 0d245f3b076f
child 67 1ff7afce37fe
equal deleted inserted replaced
65:0d245f3b076f 66:965586c1e3ed
    14 		"follow",
    14 		"follow",
    15 	}
    15 	}
    16 )
    16 )
    17 
    17 
    18 type registerApp struct {
    18 type registerApp struct {
    19 	ID           int64  `json:"id"`
    19 	ID           string `json:"id"`
    20 	ClientID     int64  `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 func registerApplication(name string, scopes []string, redirectURI string) (g *Gondole, err error) {
    24 func registerApplication(name string, scopes []string, redirectURI string) (g *Gondole, err error) {
    25 	g = &Gondole{
    25 	g = &Gondole{