Skip to content

Commit

Permalink
fix: lint imports
Browse files Browse the repository at this point in the history
Signed-off-by: ismael FALL <ismael.fall@epitech.eu>
  • Loading branch information
Doozers committed Apr 13, 2023
1 parent 28dcb75 commit 2b2d9b6
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 21 deletions.
13 changes: 6 additions & 7 deletions cmd/depviz/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,12 @@ import (
"os/signal"
"time"

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/cayley/graph"
_ "github.com/cayleygraph/cayley/graph/kv/bolt"
"github.com/cayleygraph/cayley/schema"
"github.com/oklog/run"
"github.com/peterbourgon/ff/v3/ffcli"
"go.uber.org/zap"
"moul.io/banner"
"moul.io/depviz/v3/pkg/dvcore"
Expand All @@ -20,13 +26,6 @@ import (
"moul.io/srand"
"moul.io/u"
"moul.io/zapconfig"

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/cayley/graph"
_ "github.com/cayleygraph/cayley/graph/kv/bolt"
"github.com/cayleygraph/cayley/schema"
"github.com/oklog/run"
"github.com/peterbourgon/ff/v3/ffcli"
)

var (
Expand Down
7 changes: 3 additions & 4 deletions pkg/dvcore/gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ import (
"os"
"sync"

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/cayley/graph"
"github.com/cayleygraph/cayley/schema"
"go.uber.org/zap"
yaml "gopkg.in/yaml.v2"
"moul.io/depviz/v3/pkg/dvmodel"
Expand All @@ -16,10 +19,6 @@ import (
"moul.io/godev"
"moul.io/graphman"
"moul.io/multipmuri"

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/cayley/graph"
"github.com/cayleygraph/cayley/schema"
)

type GenOpts struct {
Expand Down
9 changes: 4 additions & 5 deletions pkg/dvcore/graphviz.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,14 @@ import (
"fmt"
"strings"

"go.uber.org/zap"
"moul.io/depviz/v3/pkg/dvmodel"
"moul.io/depviz/v3/pkg/dvparser"
"moul.io/depviz/v3/pkg/dvstore"

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/quad"
"github.com/goccy/go-graphviz"
"github.com/goccy/go-graphviz/cgraph"
"go.uber.org/zap"
"moul.io/depviz/v3/pkg/dvmodel"
"moul.io/depviz/v3/pkg/dvparser"
"moul.io/depviz/v3/pkg/dvstore"
)

type GraphvizOpts struct {
Expand Down
3 changes: 2 additions & 1 deletion pkg/dvmodel/dvmodel.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pkg/dvmodel/task.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@ package dvmodel
import (
"strings"

"go.uber.org/zap"

"github.com/cayleygraph/quad"
"github.com/goccy/go-graphviz/cgraph"
"go.uber.org/zap"
)

func (t *Task) AllDeps() []quad.IRI {
Expand Down
2 changes: 0 additions & 2 deletions pkg/dvstore/testing.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,9 @@ import (

"github.com/cayleygraph/cayley"
"github.com/cayleygraph/cayley/graph"

// required by cayley
_ "github.com/cayleygraph/cayley/graph/kv/bolt"
"github.com/cayleygraph/quad"

// required by cayley
_ "github.com/cayleygraph/quad/gml"
// required by cayley
Expand Down

0 comments on commit 2b2d9b6

Please sign in to comment.