Skip to content

Commit 56cacb5

Browse files
committed
fix module imports
1 parent 4c06696 commit 56cacb5

6 files changed

Lines changed: 8 additions & 8 deletions

File tree

cli/cli.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ import (
66
"fmt"
77
"os"
88

9-
"github.com/swichupcb/xstruct/cli/config"
10-
"github.com/swichupcb/xstruct/cli/generator"
11-
"github.com/swichupcb/xstruct/cli/parser"
9+
"github.com/switchupcb/xstruct/cli/config"
10+
"github.com/switchupcb/xstruct/cli/generator"
11+
"github.com/switchupcb/xstruct/cli/parser"
1212
)
1313

1414
// Environment represents the xstruct environment.

cli/config/dir.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"io/fs"
66
"path/filepath"
77

8-
"github.com/swichupcb/xstruct/cli/models"
8+
"github.com/switchupcb/xstruct/cli/models"
99
)
1010

1111
const (

cli/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import (
66
"sort"
77

88
"github.com/dave/dst"
9-
"github.com/swichupcb/xstruct/cli/models"
9+
"github.com/switchupcb/xstruct/cli/models"
1010
"golang.org/x/tools/imports"
1111
)
1212

cli/parser/parse.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/dave/dst"
99
"github.com/dave/dst/decorator"
10-
"github.com/swichupcb/xstruct/cli/models"
10+
"github.com/switchupcb/xstruct/cli/models"
1111
)
1212

1313
// Parse parses structs from .go files.

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/swichupcb/xstruct
1+
module github.com/switchupcb/xstruct
22

33
go 1.23.0
44

main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"os"
55

6-
"github.com/swichupcb/xstruct/cli"
6+
"github.com/switchupcb/xstruct/cli"
77
)
88

99
func main() {

0 commit comments

Comments
 (0)