Skip to content

Commit b0da680

Browse files
committed
Fixed import statements
1 parent 3ff6ed8 commit b0da680

File tree

5 files changed

+10
-7
lines changed

5 files changed

+10
-7
lines changed

cmd/create.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package cmd
22

33
import (
4-
"opennetworktools/netmap/internal"
4+
"github.com/opennetworktools/netmap/internal"
55

66
"github.com/spf13/cobra"
77
)

go.mod

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module opennetworktools/netmap
1+
module github.com/opennetworktools/netmap
22

33
go 1.23.1
44

internal/traverse.go

+5-3
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ package internal
33
import (
44
"context"
55
"fmt"
6-
"opennetworktools/netmap/internal/arista"
7-
"opennetworktools/netmap/internal/utils"
8-
"opennetworktools/netmap/internal/visualizer"
96
"strings"
107
"time"
8+
9+
"github.com/opennetworktools/netmap/internal/utils"
10+
"github.com/opennetworktools/netmap/internal/visualizer"
11+
12+
"github.com/opennetworktools/netmap/internal/arista"
1113
)
1214

1315
func Traverse(hostname, username, password string) {

internal/visualizer/graphviz.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,12 @@ import (
55
"context"
66
"fmt"
77
"image/png"
8-
"opennetworktools/netmap/internal/utils"
98
"os"
109
"path/filepath"
1110
"strings"
1211

12+
"github.com/opennetworktools/netmap/internal/utils"
13+
1314
"aqwari.net/xml/xmltree"
1415
"github.com/goccy/go-graphviz"
1516
"github.com/goccy/go-graphviz/cgraph"

main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package main
22

33
import (
4-
"opennetworktools/netmap/cmd"
4+
"github.com/opennetworktools/netmap/cmd"
55
)
66

77
func main() {

0 commit comments

Comments
 (0)