Skip to content

Commit

Permalink
public all packages
Browse files Browse the repository at this point in the history
  • Loading branch information
xfali committed Dec 6, 2021
1 parent 3694775 commit 1c92075
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions cmd/gobatis-cmd/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"encoding/json"
"flag"
"fmt"
"github.com/xfali/gobatis-cmd/internal/pkg/db"
"github.com/xfali/gobatis-cmd/internal/pkg/generator"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/db"
"github.com/xfali/gobatis-cmd/pkg/generator"
"github.com/xfali/gobatis-cmd/pkg/io"
"io/ioutil"
"log"
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ package generator

import (
"fmt"
"github.com/xfali/gobatis-cmd/internal/mapping"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/io"
"github.com/xfali/gobatis-cmd/pkg/mapping"
"strings"
"time"
)
Expand Down
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ package generator

import (
"fmt"
"github.com/xfali/gobatis-cmd/internal/mapping"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/io"
"github.com/xfali/gobatis-cmd/pkg/mapping"
"strings"
"time"
)
Expand Down
14 changes: 7 additions & 7 deletions internal/pkg/generator/gen_xml.go → pkg/generator/gen_xml.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@
package generator

import (
"fmt"
"github.com/xfali/gobatis-cmd/internal/mapping"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/io"
"strings"
"time"
"fmt"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/io"
"github.com/xfali/gobatis-cmd/pkg/mapping"
"strings"
"time"
)

func GenXml(config config.Config, tableName string, model []common.ModelInfo) {
Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion test/cmd_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
package test

import (
"github.com/xfali/gobatis-cmd/internal/pkg/generator"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"github.com/xfali/gobatis-cmd/pkg/generator"
"github.com/xfali/gobatis-cmd/pkg/plugin"
"testing"
)
Expand Down
2 changes: 1 addition & 1 deletion test/db_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
package test

import (
db2 "github.com/xfali/gobatis-cmd/internal/pkg/db"
db2 "github.com/xfali/gobatis-cmd/pkg/db"
"log"
"os"
"testing"
Expand Down
14 changes: 7 additions & 7 deletions test/sqlite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
package test

import (
"database/sql"
_ "github.com/mattn/go-sqlite3"
db2 "github.com/xfali/gobatis-cmd/internal/pkg/db"
"github.com/xfali/gobatis-cmd/internal/pkg/generator"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
"testing"
"database/sql"
_ "github.com/mattn/go-sqlite3"
"github.com/xfali/gobatis-cmd/pkg/common"
"github.com/xfali/gobatis-cmd/pkg/config"
db2 "github.com/xfali/gobatis-cmd/pkg/db"
"github.com/xfali/gobatis-cmd/pkg/generator"
"testing"
)

func InitSqlite(t *testing.T) []common.ModelInfo {
Expand Down

0 comments on commit 1c92075

Please sign in to comment.