Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxiujia committed Apr 13, 2019
1 parent 155f1e6 commit 6947376
Show file tree
Hide file tree
Showing 39 changed files with 57 additions and 56 deletions.
2 changes: 1 addition & 1 deletion ExpressionEngineLexerMapCache.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"sync"
)

Expand Down
4 changes: 2 additions & 2 deletions ExpressionEngineProxy.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package GoMybatis

import (
"GoMybatis/ast"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/ast"
"github.com/zhuxiujia/GoMybatis/utils"
)

type ExpressionEngineProxy struct {
Expand Down
4 changes: 2 additions & 2 deletions ExpressionEngineProxy_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package GoMybatis

import (
"GoMybatis/engines"
"GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/engines"
"github.com/zhuxiujia/GoMybatis/example"
"fmt"
"testing"
)
Expand Down
6 changes: 3 additions & 3 deletions GoMybatis.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package GoMybatis

import (
"GoMybatis/ast"
"GoMybatis/lib/github.com/beevik/etree"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/ast"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/utils"
"bytes"
"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisDataSourceRouter.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"database/sql"
)

Expand Down
6 changes: 3 additions & 3 deletions GoMybatisEngine.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package GoMybatis

import (
"GoMybatis/ast"
"GoMybatis/engines"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/ast"
"github.com/zhuxiujia/GoMybatis/engines"
"github.com/zhuxiujia/GoMybatis/utils"
"database/sql"
)

Expand Down
4 changes: 2 additions & 2 deletions GoMybatisEngine_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package GoMybatis

import (
"GoMybatis/example"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"sync"
"testing"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisSqlArgTypeConvert.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"bytes"
"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisSqlBuilder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/ast"
"github.com/zhuxiujia/GoMybatis/ast"
"time"
)

Expand Down
10 changes: 5 additions & 5 deletions GoMybatisSqlBuilder_test.go
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
package GoMybatis

import (
"GoMybatis/engines"
"GoMybatis/example"
"GoMybatis/lib/github.com/Knetic/govaluate"
"GoMybatis/lib/github.com/beevik/etree"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/engines"
"github.com/zhuxiujia/GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/lib/github.com/Knetic/govaluate"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"testing"
"time"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisSqlResultDecoder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"reflect"
"strconv"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisSqlResultDecoder_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"testing"
"time"
Expand Down
4 changes: 2 additions & 2 deletions GoMybatisTempleteDecoder.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package GoMybatis

import (
"GoMybatis/lib/github.com/beevik/etree"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/utils"
"bytes"
"reflect"
"strings"
Expand Down
2 changes: 1 addition & 1 deletion GoMybatisTempleteDecoder_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/example"
"fmt"
"testing"
"time"
Expand Down
2 changes: 1 addition & 1 deletion LocalSession.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"database/sql"
)

Expand Down
2 changes: 1 addition & 1 deletion LogSystem.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
"bytes"
)

Expand Down
2 changes: 1 addition & 1 deletion SessionFactorySession.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/utils"
)

type SessionFactorySession struct {
Expand Down
2 changes: 1 addition & 1 deletion SqlBuilder.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package GoMybatis

import "GoMybatis/ast"
import "github.com/zhuxiujia/GoMybatis/ast"

//sql文本构建
type SqlBuilder interface {
Expand Down
2 changes: 1 addition & 1 deletion SqlEngine.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package GoMybatis

import "GoMybatis/ast"
import "github.com/zhuxiujia/GoMybatis/ast"

type Result struct {
LastInsertId int64
Expand Down
2 changes: 1 addition & 1 deletion TempleteDecoder.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package GoMybatis

import (
"GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"reflect"
)

Expand Down
4 changes: 2 additions & 2 deletions XmlLoader.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package GoMybatis

import (
"GoMybatis/lib/github.com/beevik/etree"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/utils"
"reflect"
)

Expand Down
2 changes: 1 addition & 1 deletion ast/NodeIf.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ast

import "GoMybatis/utils"
import "github.com/zhuxiujia/GoMybatis/utils"

//判断节点
type NodeIf struct {
Expand Down
2 changes: 1 addition & 1 deletion ast/NodeParser.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package ast

import (
"GoMybatis/lib/github.com/beevik/etree"
"github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree"
"reflect"
"strings"
)
Expand Down
2 changes: 1 addition & 1 deletion ast/NodeWhen.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package ast

import "GoMybatis/utils"
import "github.com/zhuxiujia/GoMybatis/utils"

type NodeWhen struct {
childs []Node
Expand Down
2 changes: 1 addition & 1 deletion engines/ExpressionEngineExpr.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package engines

import (
"GoMybatis/lib/github.com/antonmedv/expr"
"github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr"
"strings"
)

Expand Down
4 changes: 2 additions & 2 deletions engines/ExpressionEngineExpr_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engines

import (
"GoMybatis/example"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"testing"
"time"
Expand Down
2 changes: 1 addition & 1 deletion engines/ExpressionEngineGoFastExpress.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package engines

import (
"GoMybatis/lib/github.com/zhuxiujia/GoFastExpress"
"github.com/zhuxiujia/GoMybatis/lib/github.com/zhuxiujia/GoFastExpress"
"strings"
)

Expand Down
2 changes: 1 addition & 1 deletion engines/ExpressionEngineGoFastExpress_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package engines

import (
"GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/example"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion engines/ExpressionEngineGovaluate.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package engines

import (
"GoMybatis/lib/github.com/Knetic/govaluate"
"github.com/zhuxiujia/GoMybatis/lib/github.com/Knetic/govaluate"
"reflect"
"strings"
)
Expand Down
4 changes: 2 additions & 2 deletions engines/ExpressionEngineGovaluate_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engines

import (
"GoMybatis/example"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"testing"
"time"
Expand Down
4 changes: 2 additions & 2 deletions engines/ExpressionEngineJee.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engines

import (
"GoMybatis/lib/github.com/nytlabs/gojee"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/lib/github.com/nytlabs/gojee"
"github.com/zhuxiujia/GoMybatis/utils"
"bytes"
"encoding/json"
"strings"
Expand Down
4 changes: 2 additions & 2 deletions engines/ExpressionEngineJee_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package engines

import (
"GoMybatis/example"
"GoMybatis/utils"
"github.com/zhuxiujia/GoMybatis/example"
"github.com/zhuxiujia/GoMybatis/utils"
"fmt"
"testing"
"time"
Expand Down
3 changes: 2 additions & 1 deletion example/Example_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
package example

import (
"GoMybatis"

"fmt"
_ "github.com/go-sql-driver/mysql"
"github.com/zhuxiujia/GoMybatis"
"io/ioutil"
"testing"
"time"
Expand Down
2 changes: 1 addition & 1 deletion lib/github.com/antonmedv/expr/bench_test.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package expr_test

import (
"GoMybatis/lib/github.com/antonmedv/expr"
"github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr"
"testing"
)

Expand Down
2 changes: 1 addition & 1 deletion lib/github.com/antonmedv/expr/doc_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"fmt"
"strings"

"GoMybatis/lib/github.com/antonmedv/expr"
"github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr"
)

func ExampleEval() {
Expand Down
2 changes: 1 addition & 1 deletion lib/github.com/antonmedv/expr/eval_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"testing"

"GoMybatis/lib/github.com/antonmedv/expr"
"github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr"
)

type evalTest struct {
Expand Down
2 changes: 1 addition & 1 deletion lib/github.com/antonmedv/expr/type_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"GoMybatis/lib/github.com/antonmedv/expr"
"github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr"
)

type typeTest string
Expand Down
2 changes: 1 addition & 1 deletion lib/github.com/nytlabs/gojee/jee/main.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package main

import (
"GoMybatis/lib/github.com/nytlabs/gojee"
"github.com/zhuxiujia/GoMybatis/lib/github.com/nytlabs/gojee"
"encoding/json"
"fmt"

Expand Down
2 changes: 1 addition & 1 deletion utils/UUID.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package utils

import (
"GoMybatis/lib/github.com/google/uuid"
"github.com/zhuxiujia/GoMybatis/lib/github.com/google/uuid"
)

func CreateUUID() string {
Expand Down

0 comments on commit 6947376

Please sign in to comment.