From 864426b054b9f72d6a0076baaba7853c5e5265c7 Mon Sep 17 00:00:00 2001
From: dadada <dadada@dadada.li>
Date: Thu, 25 May 2023 16:46:55 +0200
Subject: [PATCH] reformat

---
 main.go | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/main.go b/main.go
index b2d93c3..15ef157 100644
--- a/main.go
+++ b/main.go
@@ -3,6 +3,7 @@ package main
 import (
 	"bufio"
 	"crypto/tls"
+	"errors"
 	"flag"
 	"fmt"
 	"io"
@@ -13,7 +14,6 @@ import (
 	"path/filepath"
 	"sync"
 	"time"
-	"errors"
 
 	"github.com/go-git/go-git/v5"
 	"github.com/go-git/go-git/v5/config"
@@ -32,7 +32,6 @@ var (
 
 var cm sync.Mutex
 
-
 func commit(
 	tree *git.Worktree,
 	padfile string,
@@ -59,10 +58,10 @@ func commit(
 		fmt.Sprintf("Updated %s from %s", padfile, url),
 		&git.CommitOptions{
 			All: false,
-			Author: &object.Signature {
-				Name: "Pad Archiver",
+			Author: &object.Signature{
+				Name:  "Pad Archiver",
 				Email: "pad-archiver@dadada.li",
-				When: time.Now(),
+				When:  time.Now(),
 			},
 		},
 	)
@@ -128,7 +127,7 @@ func push(
 ) error {
 	return r.Push(&git.PushOptions{
 		RemoteName: remote,
-		Auth: auth,
+		Auth:       auth,
 	})
 }