gofmt programm

This commit is contained in:
Simon Rieger 2024-04-01 12:58:59 +02:00
parent d27d29ae34
commit 7cc4b410dc

View file

@ -1,6 +1,8 @@
package main package main
import ( import (
"crypto/rand"
"encoding/base64"
"fmt" "fmt"
"html/template" "html/template"
"io" "io"
@ -12,8 +14,6 @@ import (
"strings" "strings"
"sync" "sync"
"time" "time"
"crypto/rand"
"encoding/base64"
) )
var ( var (
@ -66,7 +66,6 @@ func generateNonce() (string, error) {
return base64.StdEncoding.EncodeToString(nonceBytes), nil return base64.StdEncoding.EncodeToString(nonceBytes), nil
} }
func uploadHandler(w http.ResponseWriter, r *http.Request) { func uploadHandler(w http.ResponseWriter, r *http.Request) {
nonce, err := generateNonce() nonce, err := generateNonce()
if err != nil { if err != nil {