gofmt programm
This commit is contained in:
parent
d27d29ae34
commit
7cc4b410dc
1 changed files with 22 additions and 23 deletions
|
@ -1,6 +1,8 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
"fmt"
|
||||
"html/template"
|
||||
"io"
|
||||
|
@ -12,8 +14,6 @@ import (
|
|||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
"crypto/rand"
|
||||
"encoding/base64"
|
||||
)
|
||||
|
||||
var (
|
||||
|
@ -66,7 +66,6 @@ func generateNonce() (string, error) {
|
|||
return base64.StdEncoding.EncodeToString(nonceBytes), nil
|
||||
}
|
||||
|
||||
|
||||
func uploadHandler(w http.ResponseWriter, r *http.Request) {
|
||||
nonce, err := generateNonce()
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue