Run gofmt

pull/47/merge
Pancakes 4 months ago
parent ed8122cd3b
commit 9b771cbac6
No known key found for this signature in database
GPG Key ID: 5792877BFA27DC8F

@ -45,7 +45,7 @@ var (
isValidUsername = regexp.MustCompile(`^\w{1,16}$`).MatchString
semaphore = make(chan bool, ArgonMaxInstances)
GameURL string
GameURL string
OAuthCallbackURL string
)

@ -25,9 +25,9 @@ import (
)
var (
DiscordClientID string
DiscordClientID string
DiscordClientSecret string
DiscordCallbackURL string
DiscordCallbackURL string
)
func HandleDiscordCallback(w http.ResponseWriter, r *http.Request) (string, error) {

@ -27,9 +27,9 @@ import (
)
var (
GoogleClientID string
GoogleClientID string
GoogleClientSecret string
GoogleCallbackURL string
GoogleCallbackURL string
)
func HandleGoogleCallback(w http.ResponseWriter, r *http.Request) (string, error) {

@ -61,11 +61,11 @@ func main() {
account.DiscordClientID = *discordclientid
account.DiscordClientSecret = *discordsecretid
account.DiscordCallbackURL = *callbackurl+"/auth/discord/callback"
account.DiscordCallbackURL = *callbackurl + "/auth/discord/callback"
account.GoogleClientID = *googleclientid
account.GoogleClientSecret = *googlesecretid
account.GoogleCallbackURL = *callbackurl+"/auth/google/callback"
account.GoogleCallbackURL = *callbackurl + "/auth/google/callback"
// register gob types
gob.Register([]interface{}{})

Loading…
Cancel
Save