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

@ -1,9 +1,10 @@
package common
import (
"time"
"github.com/golang-jwt/jwt/v4"
"github.com/pkg/errors"
"time"
)
var SecretKey []byte

View File

@ -2,10 +2,11 @@ package common
import (
"fmt"
"github.com/alist-org/alist/v3/internal/conf"
"github.com/alist-org/alist/v3/internal/setting"
"net/http"
"strings"
"github.com/alist-org/alist/v3/internal/conf"
"github.com/alist-org/alist/v3/internal/setting"
)
func GetBaseUrl(r *http.Request) string {

View File

@ -2,9 +2,6 @@ package common
import (
"fmt"
"github.com/alist-org/alist/v3/internal/model"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
"io"
"io/ioutil"
"net/http"
@ -12,6 +9,10 @@ import (
"os"
"strconv"
"strings"
"github.com/alist-org/alist/v3/internal/model"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
)
var HttpClient = &http.Client{}