24 lines
328 B
Go
24 lines
328 B
Go
package main
|
|
|
|
import ()
|
|
|
|
var configuredOauths []string
|
|
|
|
func oauthConfigure() error {
|
|
configuredOauths = []string{}
|
|
|
|
if err := googleOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
if err := githubOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
if err := twitterOauthConfigure(); err != nil {
|
|
return err
|
|
}
|
|
|
|
return nil
|
|
}
|