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