changeset 27 | 15abafa6cd90 |
parent 21 | 555716349f64 |
child 35 | 27c58d359940 |
26:dbc7755fbcca | 27:15abafa6cd90 |
---|---|
8 func NewApp(name, redirectURI string) (g *Gondole, err error) { |
8 func NewApp(name, redirectURI string) (g *Gondole, err error) { |
9 // Load configuration, will register if none is found |
9 // Load configuration, will register if none is found |
10 |
10 |
11 g = &Gondole{ |
11 g = &Gondole{ |
12 Name: name, |
12 Name: name, |
13 ID: config.ID, |
13 //ID: config.ID, |
14 Secret: config.BearerToken, |
14 //Secret: config.BearerToken, |
15 } |
15 } |
16 return |
16 return |
17 } |
17 } |
18 |
18 |