Commit 9a872176 authored by Jacob Vosmaer's avatar Jacob Vosmaer

Run "go fmt" (grr who forgot it?)

parent efbc977c
...@@ -5,6 +5,7 @@ In this file we handle 'git archive' downloads ...@@ -5,6 +5,7 @@ In this file we handle 'git archive' downloads
package main package main
import ( import (
"errors"
"fmt" "fmt"
"io" "io"
"io/ioutil" "io/ioutil"
...@@ -13,9 +14,8 @@ import ( ...@@ -13,9 +14,8 @@ import (
"os" "os"
"os/exec" "os/exec"
"path" "path"
"time"
"path/filepath" "path/filepath"
"errors" "time"
) )
func handleGetArchive(w http.ResponseWriter, r *gitRequest) { func handleGetArchive(w http.ResponseWriter, r *gitRequest) {
......
...@@ -9,8 +9,8 @@ import ( ...@@ -9,8 +9,8 @@ import (
"fmt" "fmt"
"io" "io"
"net/http" "net/http"
"strings"
"path/filepath" "path/filepath"
"strings"
) )
func handleGetInfoRefs(w http.ResponseWriter, r *gitRequest) { func handleGetInfoRefs(w http.ResponseWriter, r *gitRequest) {
......
...@@ -51,7 +51,7 @@ type authorizationResponse struct { ...@@ -51,7 +51,7 @@ type authorizationResponse struct {
type gitRequest struct { type gitRequest struct {
*http.Request *http.Request
authorizationResponse authorizationResponse
u *upstream u *upstream
} }
// Routing table // Routing table
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment