This commit fixes the style issues introduced in ab4e767 according to the output from Go fmt and Gofumpt. Details: https://github.com/gogs/gogs/pull/8111
@@ -4,8 +4,8 @@ import (
"net/http"
"strings"
- "github.com/flamego/flamego"
"github.com/flamego/binding"
+ "github.com/flamego/flamego"
api "github.com/gogs/go-gogs-client"
gocontext "context"
- api "github.com/gogs/go-gogs-client"
"github.com/flamego/flamego"
+ api "github.com/gogs/go-gogs-client"
"gogs.io/gogs/internal/context"
"gogs.io/gogs/internal/database"
@@ -8,9 +8,9 @@ import (
"testing"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"gogs.io/gogs/internal/lfsutil"
"fmt"
- jsoniter "github.com/json-iterator/go"
+ jsoniter "github.com/json-iterator/go"
log "unknwon.dev/clog/v2"
"gogs.io/gogs/internal/conf"
"net/http/httptest"