chore: go fmt

This commit is contained in:
Noah Hsu
2022-08-03 14:26:59 +08:00
parent 721f18a7f4
commit b51e664543
41 changed files with 100 additions and 74 deletions

View File

@ -6,12 +6,13 @@ package webdav
import (
"context"
"github.com/alist-org/alist/v3/internal/db"
"github.com/alist-org/alist/v3/internal/fs"
"github.com/alist-org/alist/v3/internal/model"
"net/http"
"path"
"path/filepath"
"github.com/alist-org/alist/v3/internal/db"
"github.com/alist-org/alist/v3/internal/fs"
"github.com/alist-org/alist/v3/internal/model"
)
// slashClean is equivalent to but slightly more efficient than

View File

@ -10,11 +10,12 @@ import (
"encoding/xml"
"errors"
"fmt"
"github.com/alist-org/alist/v3/internal/model"
"mime"
"net/http"
"path"
"strconv"
"github.com/alist-org/alist/v3/internal/model"
)
// Proppatch describes a property update instruction as defined in RFC 4918.

View File

@ -8,18 +8,19 @@ package webdav // import "golang.org/x/net/webdav"
import (
"errors"
"fmt"
"github.com/alist-org/alist/v3/internal/errs"
"github.com/alist-org/alist/v3/internal/fs"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/internal/sign"
"github.com/alist-org/alist/v3/pkg/utils"
"github.com/alist-org/alist/v3/server/common"
"net/http"
"net/url"
"os"
"path"
"strings"
"time"
"github.com/alist-org/alist/v3/internal/errs"
"github.com/alist-org/alist/v3/internal/fs"
"github.com/alist-org/alist/v3/internal/model"
"github.com/alist-org/alist/v3/internal/sign"
"github.com/alist-org/alist/v3/pkg/utils"
"github.com/alist-org/alist/v3/server/common"
)
type Handler struct {