Quellcode durchsuchen

Run goimports on the whole project (#34)

Signed-off-by: Matthias Loibl <mail@matthiasloibl.com>
tags/v1.0.0
Matthias Loibl vor 7 Jahren
Ursprung
Commit
a4fa889ced
3 geänderte Dateien mit 6 neuen und 6 gelöschten Zeilen
  1. 2
    2
      models/repo_test.go
  2. 3
    3
      modules/markdown/markdown_test.go
  3. 1
    1
      modules/setting/setting.go

+ 2
- 2
models/repo_test.go Datei anzeigen

@@ -1,11 +1,11 @@
package models_test

import (
. "github.com/go-gitea/gitea/models"
. "github.com/smartystreets/goconvey/convey"
"testing"

. "github.com/go-gitea/gitea/models"
"github.com/go-gitea/gitea/modules/markdown"
. "github.com/smartystreets/goconvey/convey"
)

func TestRepo(t *testing.T) {

+ 3
- 3
modules/markdown/markdown_test.go Datei anzeigen

@@ -1,13 +1,13 @@
package markdown_test

import (
. "github.com/go-gitea/gitea/modules/markdown"
. "github.com/smartystreets/goconvey/convey"
"bytes"
"testing"

"bytes"
. "github.com/go-gitea/gitea/modules/markdown"
"github.com/go-gitea/gitea/modules/setting"
"github.com/russross/blackfriday"
. "github.com/smartystreets/goconvey/convey"
)

func TestMarkdown(t *testing.T) {

+ 1
- 1
modules/setting/setting.go Datei anzeigen

@@ -22,8 +22,8 @@ import (
_ "github.com/go-macaron/cache/redis"
"github.com/go-macaron/session"
_ "github.com/go-macaron/session/redis"
"strk.kbt.io/projects/go/libravatar"
"gopkg.in/ini.v1"
"strk.kbt.io/projects/go/libravatar"

"github.com/go-gitea/gitea/modules/bindata"
"github.com/go-gitea/gitea/modules/log"

Laden…
Abbrechen
Speichern