From 28d98e67c2926338450f7f1a29dc887674b86659 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Mikl=C3=B3s=20T=C3=B3th?= <tothmiklostibor@gmail.com>
Date: Thu, 12 May 2022 17:47:19 +0200
Subject: [PATCH] Format

---
 auth.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/auth.go b/auth.go
index fc579f9..fdf9d7c 100644
--- a/auth.go
+++ b/auth.go
@@ -83,7 +83,10 @@ func (c *Client) GetAuthURL(opts ...oauth2.AuthCodeOption) string {
 // A next paraméter megkapja a user adatait a details változóban, illetve egy http.ResponseWriter-t és *http.Request-et is,
 // így az a függvény célszerűen eltárolja a user adatait, beállít egy sütit, majd átirányítja.
 // Az errorCallback paraméterben megadott függvény pedig hibás belépés esetén fut le, ott célszerű egy hibaoldalt megjeleníteni.
-func (c *Client) GetLoginHandler(next func(details *AccDetails, w http.ResponseWriter, r *http.Request), errorCallback func(w http.ResponseWriter, r *http.Request)) http.Handler {
+func (c *Client) GetLoginHandler(
+	next func(details *AccDetails, w http.ResponseWriter, r *http.Request),
+	errorCallback func(w http.ResponseWriter, r *http.Request),
+) http.Handler {
 	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
 		ctx := context.Background()
 
-- 
GitLab