mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-23 00:55:27 +00:00
Run goimports on the whole project (#34)
Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
This commit is contained in:
parent
fc55182a4c
commit
a4fa889ced
|
@ -1,11 +1,11 @@
|
||||||
package models_test
|
package models_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/go-gitea/gitea/models"
|
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
. "github.com/go-gitea/gitea/models"
|
||||||
"github.com/go-gitea/gitea/modules/markdown"
|
"github.com/go-gitea/gitea/modules/markdown"
|
||||||
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestRepo(t *testing.T) {
|
func TestRepo(t *testing.T) {
|
||||||
|
|
|
@ -1,13 +1,13 @@
|
||||||
package markdown_test
|
package markdown_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
. "github.com/go-gitea/gitea/modules/markdown"
|
"bytes"
|
||||||
. "github.com/smartystreets/goconvey/convey"
|
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
"bytes"
|
. "github.com/go-gitea/gitea/modules/markdown"
|
||||||
"github.com/go-gitea/gitea/modules/setting"
|
"github.com/go-gitea/gitea/modules/setting"
|
||||||
"github.com/russross/blackfriday"
|
"github.com/russross/blackfriday"
|
||||||
|
. "github.com/smartystreets/goconvey/convey"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestMarkdown(t *testing.T) {
|
func TestMarkdown(t *testing.T) {
|
||||||
|
|
|
@ -22,8 +22,8 @@ import (
|
||||||
_ "github.com/go-macaron/cache/redis"
|
_ "github.com/go-macaron/cache/redis"
|
||||||
"github.com/go-macaron/session"
|
"github.com/go-macaron/session"
|
||||||
_ "github.com/go-macaron/session/redis"
|
_ "github.com/go-macaron/session/redis"
|
||||||
"strk.kbt.io/projects/go/libravatar"
|
|
||||||
"gopkg.in/ini.v1"
|
"gopkg.in/ini.v1"
|
||||||
|
"strk.kbt.io/projects/go/libravatar"
|
||||||
|
|
||||||
"github.com/go-gitea/gitea/modules/bindata"
|
"github.com/go-gitea/gitea/modules/bindata"
|
||||||
"github.com/go-gitea/gitea/modules/log"
|
"github.com/go-gitea/gitea/modules/log"
|
||||||
|
|
Loading…
Reference in a new issue