From 69473765e031ac3d09db192151b3ba73c571f811 Mon Sep 17 00:00:00 2001 From: zhuxiujia Date: Sat, 13 Apr 2019 13:49:57 +0800 Subject: [PATCH] fix --- ExpressionEngineLexerMapCache.go | 2 +- ExpressionEngineProxy.go | 4 ++-- ExpressionEngineProxy_test.go | 4 ++-- GoMybatis.go | 6 +++--- GoMybatisDataSourceRouter.go | 2 +- GoMybatisEngine.go | 6 +++--- GoMybatisEngine_test.go | 4 ++-- GoMybatisSqlArgTypeConvert.go | 2 +- GoMybatisSqlBuilder.go | 2 +- GoMybatisSqlBuilder_test.go | 10 +++++----- GoMybatisSqlResultDecoder.go | 2 +- GoMybatisSqlResultDecoder_test.go | 2 +- GoMybatisTempleteDecoder.go | 4 ++-- GoMybatisTempleteDecoder_test.go | 2 +- LocalSession.go | 2 +- LogSystem.go | 2 +- SessionFactorySession.go | 2 +- SqlBuilder.go | 2 +- SqlEngine.go | 2 +- TempleteDecoder.go | 2 +- XmlLoader.go | 4 ++-- ast/NodeIf.go | 2 +- ast/NodeParser.go | 2 +- ast/NodeWhen.go | 2 +- engines/ExpressionEngineExpr.go | 2 +- engines/ExpressionEngineExpr_test.go | 4 ++-- engines/ExpressionEngineGoFastExpress.go | 2 +- engines/ExpressionEngineGoFastExpress_test.go | 2 +- engines/ExpressionEngineGovaluate.go | 2 +- engines/ExpressionEngineGovaluate_test.go | 4 ++-- engines/ExpressionEngineJee.go | 4 ++-- engines/ExpressionEngineJee_test.go | 4 ++-- example/Example_test.go | 3 ++- lib/github.com/antonmedv/expr/bench_test.go | 2 +- lib/github.com/antonmedv/expr/doc_test.go | 2 +- lib/github.com/antonmedv/expr/eval_test.go | 2 +- lib/github.com/antonmedv/expr/type_test.go | 2 +- lib/github.com/nytlabs/gojee/jee/main.go | 2 +- utils/UUID.go | 2 +- 39 files changed, 57 insertions(+), 56 deletions(-) diff --git a/ExpressionEngineLexerMapCache.go b/ExpressionEngineLexerMapCache.go index 95bdf03..7a912d7 100644 --- a/ExpressionEngineLexerMapCache.go +++ b/ExpressionEngineLexerMapCache.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "sync" ) diff --git a/ExpressionEngineProxy.go b/ExpressionEngineProxy.go index 4e4f326..47dfb0e 100644 --- a/ExpressionEngineProxy.go +++ b/ExpressionEngineProxy.go @@ -1,8 +1,8 @@ package GoMybatis import ( - "GoMybatis/ast" - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/ast" + "github.com/zhuxiujia/GoMybatis/utils" ) type ExpressionEngineProxy struct { diff --git a/ExpressionEngineProxy_test.go b/ExpressionEngineProxy_test.go index 9c64d3c..26f49ac 100644 --- a/ExpressionEngineProxy_test.go +++ b/ExpressionEngineProxy_test.go @@ -1,8 +1,8 @@ package GoMybatis import ( - "GoMybatis/engines" - "GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/engines" + "github.com/zhuxiujia/GoMybatis/example" "fmt" "testing" ) diff --git a/GoMybatis.go b/GoMybatis.go index 7604a38..8b48a1c 100644 --- a/GoMybatis.go +++ b/GoMybatis.go @@ -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" diff --git a/GoMybatisDataSourceRouter.go b/GoMybatisDataSourceRouter.go index 2677290..eecae79 100644 --- a/GoMybatisDataSourceRouter.go +++ b/GoMybatisDataSourceRouter.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "database/sql" ) diff --git a/GoMybatisEngine.go b/GoMybatisEngine.go index 0c8c344..505f561 100644 --- a/GoMybatisEngine.go +++ b/GoMybatisEngine.go @@ -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" ) diff --git a/GoMybatisEngine_test.go b/GoMybatisEngine_test.go index 94dcf54..8943dba 100644 --- a/GoMybatisEngine_test.go +++ b/GoMybatisEngine_test.go @@ -1,8 +1,8 @@ package GoMybatis import ( - "GoMybatis/example" - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/utils" "fmt" "sync" "testing" diff --git a/GoMybatisSqlArgTypeConvert.go b/GoMybatisSqlArgTypeConvert.go index 225dcc4..25de52e 100644 --- a/GoMybatisSqlArgTypeConvert.go +++ b/GoMybatisSqlArgTypeConvert.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "bytes" "reflect" "strings" diff --git a/GoMybatisSqlBuilder.go b/GoMybatisSqlBuilder.go index 04fc2c7..a06c036 100644 --- a/GoMybatisSqlBuilder.go +++ b/GoMybatisSqlBuilder.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/ast" + "github.com/zhuxiujia/GoMybatis/ast" "time" ) diff --git a/GoMybatisSqlBuilder_test.go b/GoMybatisSqlBuilder_test.go index 8a7571c..c762271 100644 --- a/GoMybatisSqlBuilder_test.go +++ b/GoMybatisSqlBuilder_test.go @@ -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" diff --git a/GoMybatisSqlResultDecoder.go b/GoMybatisSqlResultDecoder.go index 5da07c8..db2335c 100644 --- a/GoMybatisSqlResultDecoder.go +++ b/GoMybatisSqlResultDecoder.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "reflect" "strconv" "strings" diff --git a/GoMybatisSqlResultDecoder_test.go b/GoMybatisSqlResultDecoder_test.go index c587f48..b963f99 100644 --- a/GoMybatisSqlResultDecoder_test.go +++ b/GoMybatisSqlResultDecoder_test.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "fmt" "testing" "time" diff --git a/GoMybatisTempleteDecoder.go b/GoMybatisTempleteDecoder.go index 7d8f61a..9fc0ffc 100644 --- a/GoMybatisTempleteDecoder.go +++ b/GoMybatisTempleteDecoder.go @@ -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" diff --git a/GoMybatisTempleteDecoder_test.go b/GoMybatisTempleteDecoder_test.go index d4fd867..44c79ec 100644 --- a/GoMybatisTempleteDecoder_test.go +++ b/GoMybatisTempleteDecoder_test.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/example" "fmt" "testing" "time" diff --git a/LocalSession.go b/LocalSession.go index 91b4d6f..5dce858 100644 --- a/LocalSession.go +++ b/LocalSession.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "database/sql" ) diff --git a/LogSystem.go b/LogSystem.go index 8b48eb8..b03a3f9 100644 --- a/LogSystem.go +++ b/LogSystem.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" "bytes" ) diff --git a/SessionFactorySession.go b/SessionFactorySession.go index 54dc29a..2ff99d7 100644 --- a/SessionFactorySession.go +++ b/SessionFactorySession.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/utils" ) type SessionFactorySession struct { diff --git a/SqlBuilder.go b/SqlBuilder.go index 906fe15..6199557 100644 --- a/SqlBuilder.go +++ b/SqlBuilder.go @@ -1,6 +1,6 @@ package GoMybatis -import "GoMybatis/ast" +import "github.com/zhuxiujia/GoMybatis/ast" //sql文本构建 type SqlBuilder interface { diff --git a/SqlEngine.go b/SqlEngine.go index 766117d..7a69611 100644 --- a/SqlEngine.go +++ b/SqlEngine.go @@ -1,6 +1,6 @@ package GoMybatis -import "GoMybatis/ast" +import "github.com/zhuxiujia/GoMybatis/ast" type Result struct { LastInsertId int64 diff --git a/TempleteDecoder.go b/TempleteDecoder.go index 3bb6dab..1719ba0 100644 --- a/TempleteDecoder.go +++ b/TempleteDecoder.go @@ -1,7 +1,7 @@ package GoMybatis import ( - "GoMybatis/lib/github.com/beevik/etree" + "github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree" "reflect" ) diff --git a/XmlLoader.go b/XmlLoader.go index d2e4134..40fb40b 100644 --- a/XmlLoader.go +++ b/XmlLoader.go @@ -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" ) diff --git a/ast/NodeIf.go b/ast/NodeIf.go index c8aa8e1..6bf0987 100644 --- a/ast/NodeIf.go +++ b/ast/NodeIf.go @@ -1,6 +1,6 @@ package ast -import "GoMybatis/utils" +import "github.com/zhuxiujia/GoMybatis/utils" //判断节点 type NodeIf struct { diff --git a/ast/NodeParser.go b/ast/NodeParser.go index 0609b11..fffc994 100644 --- a/ast/NodeParser.go +++ b/ast/NodeParser.go @@ -1,7 +1,7 @@ package ast import ( - "GoMybatis/lib/github.com/beevik/etree" + "github.com/zhuxiujia/GoMybatis/lib/github.com/beevik/etree" "reflect" "strings" ) diff --git a/ast/NodeWhen.go b/ast/NodeWhen.go index 9343848..d386ccb 100644 --- a/ast/NodeWhen.go +++ b/ast/NodeWhen.go @@ -1,6 +1,6 @@ package ast -import "GoMybatis/utils" +import "github.com/zhuxiujia/GoMybatis/utils" type NodeWhen struct { childs []Node diff --git a/engines/ExpressionEngineExpr.go b/engines/ExpressionEngineExpr.go index ec82da9..9b6d77e 100644 --- a/engines/ExpressionEngineExpr.go +++ b/engines/ExpressionEngineExpr.go @@ -1,7 +1,7 @@ package engines import ( - "GoMybatis/lib/github.com/antonmedv/expr" + "github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr" "strings" ) diff --git a/engines/ExpressionEngineExpr_test.go b/engines/ExpressionEngineExpr_test.go index 1bf40da..8d80360 100644 --- a/engines/ExpressionEngineExpr_test.go +++ b/engines/ExpressionEngineExpr_test.go @@ -1,8 +1,8 @@ package engines import ( - "GoMybatis/example" - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/utils" "fmt" "testing" "time" diff --git a/engines/ExpressionEngineGoFastExpress.go b/engines/ExpressionEngineGoFastExpress.go index e27f3b3..c79390e 100644 --- a/engines/ExpressionEngineGoFastExpress.go +++ b/engines/ExpressionEngineGoFastExpress.go @@ -1,7 +1,7 @@ package engines import ( - "GoMybatis/lib/github.com/zhuxiujia/GoFastExpress" + "github.com/zhuxiujia/GoMybatis/lib/github.com/zhuxiujia/GoFastExpress" "strings" ) diff --git a/engines/ExpressionEngineGoFastExpress_test.go b/engines/ExpressionEngineGoFastExpress_test.go index 3fca80d..496a7ea 100644 --- a/engines/ExpressionEngineGoFastExpress_test.go +++ b/engines/ExpressionEngineGoFastExpress_test.go @@ -1,7 +1,7 @@ package engines import ( - "GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/example" "testing" ) diff --git a/engines/ExpressionEngineGovaluate.go b/engines/ExpressionEngineGovaluate.go index fa6b985..ed57125 100644 --- a/engines/ExpressionEngineGovaluate.go +++ b/engines/ExpressionEngineGovaluate.go @@ -1,7 +1,7 @@ package engines import ( - "GoMybatis/lib/github.com/Knetic/govaluate" + "github.com/zhuxiujia/GoMybatis/lib/github.com/Knetic/govaluate" "reflect" "strings" ) diff --git a/engines/ExpressionEngineGovaluate_test.go b/engines/ExpressionEngineGovaluate_test.go index c373bba..7fb9add 100644 --- a/engines/ExpressionEngineGovaluate_test.go +++ b/engines/ExpressionEngineGovaluate_test.go @@ -1,8 +1,8 @@ package engines import ( - "GoMybatis/example" - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/utils" "fmt" "testing" "time" diff --git a/engines/ExpressionEngineJee.go b/engines/ExpressionEngineJee.go index bcabe3d..0598102 100644 --- a/engines/ExpressionEngineJee.go +++ b/engines/ExpressionEngineJee.go @@ -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" diff --git a/engines/ExpressionEngineJee_test.go b/engines/ExpressionEngineJee_test.go index 8e43d38..c2ccb34 100644 --- a/engines/ExpressionEngineJee_test.go +++ b/engines/ExpressionEngineJee_test.go @@ -1,8 +1,8 @@ package engines import ( - "GoMybatis/example" - "GoMybatis/utils" + "github.com/zhuxiujia/GoMybatis/example" + "github.com/zhuxiujia/GoMybatis/utils" "fmt" "testing" "time" diff --git a/example/Example_test.go b/example/Example_test.go index 479d555..3c58a96 100644 --- a/example/Example_test.go +++ b/example/Example_test.go @@ -1,9 +1,10 @@ package example import ( - "GoMybatis" + "fmt" _ "github.com/go-sql-driver/mysql" + "github.com/zhuxiujia/GoMybatis" "io/ioutil" "testing" "time" diff --git a/lib/github.com/antonmedv/expr/bench_test.go b/lib/github.com/antonmedv/expr/bench_test.go index 3633f3d..ef5d34d 100644 --- a/lib/github.com/antonmedv/expr/bench_test.go +++ b/lib/github.com/antonmedv/expr/bench_test.go @@ -1,7 +1,7 @@ package expr_test import ( - "GoMybatis/lib/github.com/antonmedv/expr" + "github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr" "testing" ) diff --git a/lib/github.com/antonmedv/expr/doc_test.go b/lib/github.com/antonmedv/expr/doc_test.go index bb2ac2d..97fe65b 100644 --- a/lib/github.com/antonmedv/expr/doc_test.go +++ b/lib/github.com/antonmedv/expr/doc_test.go @@ -4,7 +4,7 @@ import ( "fmt" "strings" - "GoMybatis/lib/github.com/antonmedv/expr" + "github.com/zhuxiujia/GoMybatis/lib/github.com/antonmedv/expr" ) func ExampleEval() { diff --git a/lib/github.com/antonmedv/expr/eval_test.go b/lib/github.com/antonmedv/expr/eval_test.go index 09c76ec..b1631fa 100644 --- a/lib/github.com/antonmedv/expr/eval_test.go +++ b/lib/github.com/antonmedv/expr/eval_test.go @@ -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 { diff --git a/lib/github.com/antonmedv/expr/type_test.go b/lib/github.com/antonmedv/expr/type_test.go index 12b6e02..e209806 100644 --- a/lib/github.com/antonmedv/expr/type_test.go +++ b/lib/github.com/antonmedv/expr/type_test.go @@ -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 diff --git a/lib/github.com/nytlabs/gojee/jee/main.go b/lib/github.com/nytlabs/gojee/jee/main.go index 6acaec7..71ec56f 100644 --- a/lib/github.com/nytlabs/gojee/jee/main.go +++ b/lib/github.com/nytlabs/gojee/jee/main.go @@ -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" diff --git a/utils/UUID.go b/utils/UUID.go index d35b1db..7d5296f 100644 --- a/utils/UUID.go +++ b/utils/UUID.go @@ -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 {