mirror of
https://github.com/gogs/gogs.git
synced 2026-02-27 16:50:58 +01:00
style: format code with Go fmt and Gofumpt
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
This commit is contained in:
committed by
GitHub
parent
ab4e767624
commit
03b23873d1
@@ -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"
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
gocontext "context"
|
||||
"net/http"
|
||||
|
||||
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 (
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
"github.com/flamego/flamego"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/flamego/flamego"
|
||||
|
||||
"gogs.io/gogs/internal/database"
|
||||
"gogs.io/gogs/internal/lfsutil"
|
||||
|
||||
@@ -4,8 +4,8 @@ import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
"github.com/flamego/flamego"
|
||||
jsoniter "github.com/json-iterator/go"
|
||||
log "unknwon.dev/clog/v2"
|
||||
|
||||
"gogs.io/gogs/internal/conf"
|
||||
|
||||
@@ -8,9 +8,9 @@ import (
|
||||
"net/http/httptest"
|
||||
"testing"
|
||||
|
||||
"github.com/flamego/flamego"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"github.com/stretchr/testify/require"
|
||||
"github.com/flamego/flamego"
|
||||
|
||||
"gogs.io/gogs/internal/conf"
|
||||
"gogs.io/gogs/internal/database"
|
||||
|
||||
Reference in New Issue
Block a user