Skip to content

Commit 6f9908f

Browse files
committed
move d3 tool from cmd dir
1 parent 55e7f37 commit 6f9908f

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

d3/main.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package main
33
import (
44
"flag"
55
"fmt"
6-
d3parser "github.com/godzie44/d3/cmd/d3/parser"
6+
d3parser "github.com/godzie44/d3/d3/parser"
77
"github.com/godzie44/d3/orm/gen/bootstrap"
88
"golang.org/x/sync/errgroup"
99
"os"

d3/parser/parser_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ func TestParser(t *testing.T) {
1717
err := p.Parse("./parser_test.go")
1818
assert.NoError(t, err)
1919

20-
assert.Equal(t, "github.com/godzie44/d3/cmd/d3/parser", p.PkgPath)
20+
assert.Equal(t, "github.com/godzie44/d3/d3/parser", p.PkgPath)
2121
assert.Equal(t, "parser", p.PkgName)
2222
assert.Equal(t, []EntityMeta{{Name: "parsedStruct"}}, p.Metas)
2323
}

orm/gen/bootstrap/boot.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bootstrap
22

33
import (
44
"bytes"
5-
"github.com/godzie44/d3/cmd/d3/parser"
5+
"github.com/godzie44/d3/d3/parser"
66
"go/format"
77
"html/template"
88
"io"

orm/gen/bootstrap/boot_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package bootstrap
22

33
import (
44
"bytes"
5-
"github.com/godzie44/d3/cmd/d3/parser"
5+
"github.com/godzie44/d3/d3/parser"
66
"github.com/stretchr/testify/assert"
77
"strings"
88
"testing"

0 commit comments

Comments
 (0)