diff -r 3379b2ff8f4c -r 555716349f64 app.go --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app.go Thu Apr 06 23:31:31 2017 +0200 @@ -0,0 +1,18 @@ +package gondole + +import ( + +) + +// NewApp registers a new instance +func NewApp(name, redirectURI string) (g *Gondole, err error) { + // Load configuration, will register if none is found + + g = &Gondole{ + Name: name, + ID: config.ID, + Secret: config.BearerToken, + } + return +} +