mirror of
https://github.com/Crocmagnon/fatcontext.git
synced 2024-11-21 15:38:08 +01:00
chore: format with goimports
This commit is contained in:
parent
4ad817c8f3
commit
166e49d25a
3 changed files with 12 additions and 3 deletions
|
@ -1,3 +1,9 @@
|
||||||
issues:
|
issues:
|
||||||
exclude-dirs:
|
exclude-dirs:
|
||||||
- contrib
|
- contrib
|
||||||
|
linters:
|
||||||
|
enable:
|
||||||
|
- goimports
|
||||||
|
linters-settings:
|
||||||
|
goimports:
|
||||||
|
local-prefixes: "github.com/Crocmagnon/fatcontext"
|
||||||
|
|
|
@ -1,8 +1,9 @@
|
||||||
package main
|
package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Crocmagnon/fatcontext/pkg/analyzer"
|
|
||||||
"golang.org/x/tools/go/analysis/singlechecker"
|
"golang.org/x/tools/go/analysis/singlechecker"
|
||||||
|
|
||||||
|
"github.com/Crocmagnon/fatcontext/pkg/analyzer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|
|
@ -1,11 +1,13 @@
|
||||||
package analyzer_test
|
package analyzer_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"github.com/Crocmagnon/fatcontext/pkg/analyzer"
|
|
||||||
"golang.org/x/tools/go/analysis/analysistest"
|
|
||||||
"os"
|
"os"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
|
|
||||||
|
"golang.org/x/tools/go/analysis/analysistest"
|
||||||
|
|
||||||
|
"github.com/Crocmagnon/fatcontext/pkg/analyzer"
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestAll(t *testing.T) {
|
func TestAll(t *testing.T) {
|
||||||
|
|
Loading…
Reference in a new issue