go fmt
This commit is contained in:
parent
16a9952616
commit
a3c439da70
|
@ -9,9 +9,9 @@ import (
|
||||||
"sync"
|
"sync"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/emersion/hydroxide/protonmail"
|
|
||||||
"github.com/emersion/go-vcard"
|
"github.com/emersion/go-vcard"
|
||||||
"github.com/emersion/go-webdav/carddav"
|
"github.com/emersion/go-webdav/carddav"
|
||||||
|
"github.com/emersion/hydroxide/protonmail"
|
||||||
)
|
)
|
||||||
|
|
||||||
type contextKey string
|
type contextKey string
|
||||||
|
|
|
@ -236,7 +236,7 @@ func main() {
|
||||||
sessions := make(map[string]*session)
|
sessions := make(map[string]*session)
|
||||||
|
|
||||||
s := &http.Server{
|
s := &http.Server{
|
||||||
Addr: "127.0.0.1:"+port,
|
Addr: "127.0.0.1:" + port,
|
||||||
Handler: http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
|
Handler: http.HandlerFunc(func(resp http.ResponseWriter, req *http.Request) {
|
||||||
resp.Header().Set("WWW-Authenticate", "Basic")
|
resp.Header().Set("WWW-Authenticate", "Basic")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue