equal
deleted
inserted
replaced
1 package gondole |
1 package gondole |
2 |
2 |
3 import ( |
3 import () |
4 |
|
5 ) |
|
6 |
4 |
7 const ( |
5 const ( |
8 Version = "0.0" |
6 Version = "0.0" |
9 |
7 |
10 APIEndpoint = "/api/v1" |
8 APIEndpoint = "/api/v1" |
11 ) |
9 ) |
12 |
10 |
13 func NewApp(name, redirectURI string) (g *Gondole, err error) { |
11 func NewApp(name, redirectURI string) (g *Gondole, err error) { |
14 g = &Gondole{ |
12 g = &Gondole{ |
15 Name: name, |
13 Name: name, |
16 RedirectURI: redirectURI, |
14 RedirectURI: redirectURI, |
17 } |
15 } |
18 return |
16 return |
19 } |
17 } |