summaryrefslogtreecommitdiffstats
path: root/vendor
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2019-10-17 17:26:49 +0800
committerAntoine GIRARD <sapk@users.noreply.github.com>2019-10-17 11:26:49 +0200
commitd151503d3428d61b5b3cb27ddbe849d3a6f288eb (patch)
treef5c1346d6ddb4f3584dc089188a557cd75a07dc6 /vendor
parentae132632a9847c3d304b3bb7b8481a1d0320ab20 (diff)
downloadgitea-d151503d3428d61b5b3cb27ddbe849d3a6f288eb.tar.gz
gitea-d151503d3428d61b5b3cb27ddbe849d3a6f288eb.zip
Upgrade xorm to v0.8.0 (#8536)
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/go-xorm/xorm/go.mod20
-rw-r--r--vendor/github.com/lafriks/xormstore/go.mod3
-rw-r--r--vendor/github.com/lafriks/xormstore/go.sum25
-rw-r--r--vendor/github.com/lafriks/xormstore/xormstore.go2
-rw-r--r--vendor/modules.txt6
-rw-r--r--vendor/xorm.io/xorm/.drone.yml (renamed from vendor/github.com/go-xorm/xorm/.drone.yml)60
-rw-r--r--vendor/xorm.io/xorm/.gitignore (renamed from vendor/github.com/go-xorm/xorm/.gitignore)0
-rw-r--r--vendor/xorm.io/xorm/CONTRIBUTING.md (renamed from vendor/github.com/go-xorm/xorm/CONTRIBUTING.md)4
-rw-r--r--vendor/xorm.io/xorm/LICENSE (renamed from vendor/github.com/go-xorm/xorm/LICENSE)0
-rw-r--r--vendor/xorm.io/xorm/README.md (renamed from vendor/github.com/go-xorm/xorm/README.md)14
-rw-r--r--vendor/xorm.io/xorm/README_CN.md (renamed from vendor/github.com/go-xorm/xorm/README_CN.md)14
-rw-r--r--vendor/xorm.io/xorm/cache_lru.go (renamed from vendor/github.com/go-xorm/xorm/cache_lru.go)0
-rw-r--r--vendor/xorm.io/xorm/cache_memory_store.go (renamed from vendor/github.com/go-xorm/xorm/cache_memory_store.go)0
-rw-r--r--vendor/xorm.io/xorm/context_cache.go (renamed from vendor/github.com/go-xorm/xorm/context_cache.go)0
-rw-r--r--vendor/xorm.io/xorm/convert.go (renamed from vendor/github.com/go-xorm/xorm/convert.go)0
-rw-r--r--vendor/xorm.io/xorm/dialect_mssql.go (renamed from vendor/github.com/go-xorm/xorm/dialect_mssql.go)0
-rw-r--r--vendor/xorm.io/xorm/dialect_mysql.go (renamed from vendor/github.com/go-xorm/xorm/dialect_mysql.go)0
-rw-r--r--vendor/xorm.io/xorm/dialect_oracle.go (renamed from vendor/github.com/go-xorm/xorm/dialect_oracle.go)0
-rw-r--r--vendor/xorm.io/xorm/dialect_postgres.go (renamed from vendor/github.com/go-xorm/xorm/dialect_postgres.go)0
-rw-r--r--vendor/xorm.io/xorm/dialect_sqlite3.go (renamed from vendor/github.com/go-xorm/xorm/dialect_sqlite3.go)0
-rw-r--r--vendor/xorm.io/xorm/doc.go (renamed from vendor/github.com/go-xorm/xorm/doc.go)2
-rw-r--r--vendor/xorm.io/xorm/engine.go (renamed from vendor/github.com/go-xorm/xorm/engine.go)0
-rw-r--r--vendor/xorm.io/xorm/engine_cond.go (renamed from vendor/github.com/go-xorm/xorm/engine_cond.go)0
-rw-r--r--vendor/xorm.io/xorm/engine_context.go (renamed from vendor/github.com/go-xorm/xorm/engine_context.go)0
-rw-r--r--vendor/xorm.io/xorm/engine_group.go (renamed from vendor/github.com/go-xorm/xorm/engine_group.go)0
-rw-r--r--vendor/xorm.io/xorm/engine_group_policy.go (renamed from vendor/github.com/go-xorm/xorm/engine_group_policy.go)0
-rw-r--r--vendor/xorm.io/xorm/engine_table.go (renamed from vendor/github.com/go-xorm/xorm/engine_table.go)0
-rw-r--r--vendor/xorm.io/xorm/error.go (renamed from vendor/github.com/go-xorm/xorm/error.go)0
-rw-r--r--vendor/xorm.io/xorm/gen_reserved.sh (renamed from vendor/github.com/go-xorm/xorm/gen_reserved.sh)0
-rw-r--r--vendor/xorm.io/xorm/go.mod15
-rw-r--r--vendor/xorm.io/xorm/go.sum (renamed from vendor/github.com/go-xorm/xorm/go.sum)37
-rw-r--r--vendor/xorm.io/xorm/helpers.go (renamed from vendor/github.com/go-xorm/xorm/helpers.go)0
-rw-r--r--vendor/xorm.io/xorm/helpler_time.go (renamed from vendor/github.com/go-xorm/xorm/helpler_time.go)0
-rw-r--r--vendor/xorm.io/xorm/interface.go (renamed from vendor/github.com/go-xorm/xorm/interface.go)0
-rw-r--r--vendor/xorm.io/xorm/json.go (renamed from vendor/github.com/go-xorm/xorm/json.go)0
-rw-r--r--vendor/xorm.io/xorm/logger.go (renamed from vendor/github.com/go-xorm/xorm/logger.go)0
-rw-r--r--vendor/xorm.io/xorm/pg_reserved.txt (renamed from vendor/github.com/go-xorm/xorm/pg_reserved.txt)0
-rw-r--r--vendor/xorm.io/xorm/processors.go (renamed from vendor/github.com/go-xorm/xorm/processors.go)0
-rw-r--r--vendor/xorm.io/xorm/rows.go (renamed from vendor/github.com/go-xorm/xorm/rows.go)0
-rw-r--r--vendor/xorm.io/xorm/session.go (renamed from vendor/github.com/go-xorm/xorm/session.go)0
-rw-r--r--vendor/xorm.io/xorm/session_cols.go (renamed from vendor/github.com/go-xorm/xorm/session_cols.go)0
-rw-r--r--vendor/xorm.io/xorm/session_cond.go (renamed from vendor/github.com/go-xorm/xorm/session_cond.go)0
-rw-r--r--vendor/xorm.io/xorm/session_context.go (renamed from vendor/github.com/go-xorm/xorm/session_context.go)0
-rw-r--r--vendor/xorm.io/xorm/session_convert.go (renamed from vendor/github.com/go-xorm/xorm/session_convert.go)10
-rw-r--r--vendor/xorm.io/xorm/session_delete.go (renamed from vendor/github.com/go-xorm/xorm/session_delete.go)0
-rw-r--r--vendor/xorm.io/xorm/session_exist.go (renamed from vendor/github.com/go-xorm/xorm/session_exist.go)0
-rw-r--r--vendor/xorm.io/xorm/session_find.go (renamed from vendor/github.com/go-xorm/xorm/session_find.go)2
-rw-r--r--vendor/xorm.io/xorm/session_get.go (renamed from vendor/github.com/go-xorm/xorm/session_get.go)0
-rw-r--r--vendor/xorm.io/xorm/session_insert.go (renamed from vendor/github.com/go-xorm/xorm/session_insert.go)0
-rw-r--r--vendor/xorm.io/xorm/session_iterate.go (renamed from vendor/github.com/go-xorm/xorm/session_iterate.go)0
-rw-r--r--vendor/xorm.io/xorm/session_query.go (renamed from vendor/github.com/go-xorm/xorm/session_query.go)0
-rw-r--r--vendor/xorm.io/xorm/session_raw.go (renamed from vendor/github.com/go-xorm/xorm/session_raw.go)0
-rw-r--r--vendor/xorm.io/xorm/session_schema.go (renamed from vendor/github.com/go-xorm/xorm/session_schema.go)0
-rw-r--r--vendor/xorm.io/xorm/session_stats.go (renamed from vendor/github.com/go-xorm/xorm/session_stats.go)0
-rw-r--r--vendor/xorm.io/xorm/session_tx.go (renamed from vendor/github.com/go-xorm/xorm/session_tx.go)0
-rw-r--r--vendor/xorm.io/xorm/session_update.go (renamed from vendor/github.com/go-xorm/xorm/session_update.go)0
-rw-r--r--vendor/xorm.io/xorm/statement.go (renamed from vendor/github.com/go-xorm/xorm/statement.go)8
-rw-r--r--vendor/xorm.io/xorm/statement_args.go (renamed from vendor/github.com/go-xorm/xorm/statement_args.go)0
-rw-r--r--vendor/xorm.io/xorm/statement_columnmap.go (renamed from vendor/github.com/go-xorm/xorm/statement_columnmap.go)0
-rw-r--r--vendor/xorm.io/xorm/statement_exprparam.go (renamed from vendor/github.com/go-xorm/xorm/statement_exprparam.go)0
-rw-r--r--vendor/xorm.io/xorm/statement_quote.go (renamed from vendor/github.com/go-xorm/xorm/statement_quote.go)0
-rw-r--r--vendor/xorm.io/xorm/syslogger.go (renamed from vendor/github.com/go-xorm/xorm/syslogger.go)0
-rw-r--r--vendor/xorm.io/xorm/tag.go (renamed from vendor/github.com/go-xorm/xorm/tag.go)0
-rw-r--r--vendor/xorm.io/xorm/test_mssql.sh (renamed from vendor/github.com/go-xorm/xorm/test_mssql.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_mssql_cache.sh (renamed from vendor/github.com/go-xorm/xorm/test_mssql_cache.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_mymysql.sh (renamed from vendor/github.com/go-xorm/xorm/test_mymysql.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_mymysql_cache.sh (renamed from vendor/github.com/go-xorm/xorm/test_mymysql_cache.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_mysql.sh (renamed from vendor/github.com/go-xorm/xorm/test_mysql.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_mysql_cache.sh (renamed from vendor/github.com/go-xorm/xorm/test_mysql_cache.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_postgres.sh (renamed from vendor/github.com/go-xorm/xorm/test_postgres.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_postgres_cache.sh (renamed from vendor/github.com/go-xorm/xorm/test_postgres_cache.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_sqlite.sh (renamed from vendor/github.com/go-xorm/xorm/test_sqlite.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_sqlite_cache.sh (renamed from vendor/github.com/go-xorm/xorm/test_sqlite_cache.sh)0
-rw-r--r--vendor/xorm.io/xorm/test_tidb.sh (renamed from vendor/github.com/go-xorm/xorm/test_tidb.sh)0
-rw-r--r--vendor/xorm.io/xorm/transaction.go (renamed from vendor/github.com/go-xorm/xorm/transaction.go)0
-rw-r--r--vendor/xorm.io/xorm/types.go (renamed from vendor/github.com/go-xorm/xorm/types.go)0
-rw-r--r--vendor/xorm.io/xorm/xorm.go (renamed from vendor/github.com/go-xorm/xorm/xorm.go)2
77 files changed, 67 insertions, 157 deletions
diff --git a/vendor/github.com/go-xorm/xorm/go.mod b/vendor/github.com/go-xorm/xorm/go.mod
deleted file mode 100644
index 1ab39831a8..0000000000
--- a/vendor/github.com/go-xorm/xorm/go.mod
+++ /dev/null
@@ -1,20 +0,0 @@
-module github.com/go-xorm/xorm
-
-go 1.11
-
-require (
- github.com/cockroachdb/apd v1.1.0 // indirect
- github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4
- github.com/go-sql-driver/mysql v1.4.1
- github.com/gofrs/uuid v3.2.0+incompatible // indirect
- github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 // indirect
- github.com/jackc/pgx v3.6.0+incompatible
- github.com/lib/pq v1.0.0
- github.com/mattn/go-sqlite3 v1.10.0
- github.com/pkg/errors v0.8.1 // indirect
- github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 // indirect
- github.com/stretchr/testify v1.4.0
- github.com/ziutek/mymysql v1.5.4
- xorm.io/builder v0.3.6
- xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb
-)
diff --git a/vendor/github.com/lafriks/xormstore/go.mod b/vendor/github.com/lafriks/xormstore/go.mod
index 1a68ce6513..8a7528ee78 100644
--- a/vendor/github.com/lafriks/xormstore/go.mod
+++ b/vendor/github.com/lafriks/xormstore/go.mod
@@ -5,15 +5,14 @@ go 1.11
require (
github.com/denisenkom/go-mssqldb v0.0.0-20190924004331-208c0a498538
github.com/go-sql-driver/mysql v1.4.1
- github.com/go-xorm/xorm v0.7.9
github.com/gorilla/context v1.1.1
github.com/gorilla/securecookie v1.1.1
github.com/gorilla/sessions v1.2.0
- github.com/kr/pretty v0.1.0 // indirect
github.com/lib/pq v1.2.0
github.com/mattn/go-sqlite3 v1.11.0
golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad // indirect
google.golang.org/appengine v1.6.4 // indirect
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect
xorm.io/core v0.7.2
+ xorm.io/xorm v0.8.0
)
diff --git a/vendor/github.com/lafriks/xormstore/go.sum b/vendor/github.com/lafriks/xormstore/go.sum
index d3dc6aee62..9d0273a87c 100644
--- a/vendor/github.com/lafriks/xormstore/go.sum
+++ b/vendor/github.com/lafriks/xormstore/go.sum
@@ -1,6 +1,5 @@
cloud.google.com/go v0.26.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
cloud.google.com/go v0.34.0/go.mod h1:aQUYkXzVsufM+DwF1aE+0xfcU+56JwCaLick0ClmMTw=
-cloud.google.com/go v0.37.4 h1:glPeL3BQJsbF6aIIYfZizMwc5LTYz250bDMjttbBGAU=
cloud.google.com/go v0.37.4/go.mod h1:NHPJ89PdicEuT9hdPXMROBD91xc5uRDxsMtSB16k7hw=
github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
github.com/Shopify/sarama v1.19.0/go.mod h1:FVkBWblsNy7DGZRfXLU0O9RCGt5g3g3yEuWXgklEdEo=
@@ -10,8 +9,6 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
-github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -29,9 +26,6 @@ github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:9wScpmSP5A3Bk8V3XHWUcJmYTh+ZnlHVyc+A4oZYS3Y=
github.com/go-xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:56xuuqnHyryaerycW3BfssRdxQstACi0Epw/yC5E2xM=
-github.com/go-xorm/xorm v0.7.9 h1:LZze6n1UvRmM5gpL9/U9Gucwqo6aWlFVlfcHKH10qA0=
-github.com/go-xorm/xorm v0.7.9/go.mod h1:XiVxrMMIhFkwSkh96BW7PACl7UhLtx2iJIHMdmjh5sQ=
-github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang-sql/civil v0.0.0-20190719163853-cb61b32ac6fe h1:lXe2qZdvpiX5WZkZR4hgp4KJVfY3nMkvmwbVkpv1rVY=
@@ -43,7 +37,6 @@ github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y
github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
-github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M=
github.com/google/martian v2.1.0+incompatible/go.mod h1:9I4somxYTbIHy5NJKHRl3wXiIaQGbYVAs8BPL6v8lEs=
github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod h1:zfwlbNMJ+OItoe0UupaVj+oy1omPYYDuagoSzA8v9mc=
@@ -57,9 +50,6 @@ github.com/gorilla/sessions v1.2.0 h1:S7P+1Hm5V/AT9cjEcUD5uDaQSX0OE577aCXgoaKpYb
github.com/gorilla/sessions v1.2.0/go.mod h1:dk2InVEVJ0sfLlnXv9EAgkf6ecYs/i80K/zI+bUmuGM=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
-github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 h1:vr3AYkKovP8uR8AvSGGUK1IDqRa5lAAvEkZG1LKaCRc=
-github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod h1:WrMFNQdiFJ80sQsxDoMokWK1W5TQtxBFNpzWTD84ibQ=
-github.com/jackc/pgx v3.6.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
@@ -70,11 +60,9 @@ github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORN
github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
-github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/lib/pq v1.2.0 h1:LXpIM/LZ5xGFhOpXAQUIMM1HdyqzVYM13zNdjCEEcA0=
github.com/lib/pq v1.2.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
-github.com/mattn/go-sqlite3 v1.10.0 h1:jbhqpg7tQe4SupckyijYiy0mJJ/pRyHvXf7JdWK860o=
github.com/mattn/go-sqlite3 v1.10.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
github.com/mattn/go-sqlite3 v1.11.0 h1:LDdKkqtYlom37fkvqs8rMPFKAMe8+SgjbwZ6ex1/A/Q=
github.com/mattn/go-sqlite3 v1.11.0/go.mod h1:FPy6KqzDD04eiIsT53CuJW3U88zkxoIYsOqkbpncsNc=
@@ -86,8 +74,6 @@ github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa
github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw=
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
-github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
@@ -98,13 +84,10 @@ github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
-github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 h1:pntxY8Ary0t43dCZ5dqY4YTJCObLY1kIXl0uzMv+7DE=
-github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
-github.com/stretchr/testify v1.3.0 h1:TivCn/peBQ7UY8ooIcPgZFpTNSz0Q2U6UrFlUfqbe0Q=
github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
github.com/stretchr/testify v1.4.0 h1:2E4SXV/wtOkTonXsotYi4li6zVWxYlZuYNCXe9XRJyk=
github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -113,7 +96,6 @@ github.com/ziutek/mymysql v1.5.4/go.mod h1:LMSpPZ6DbqWFxNCHW77HeMg9I646SAhApZ/wK
go.opencensus.io v0.20.1/go.mod h1:6WKK9ahsWS3RSO+PY9ZHZUfv2irvY6gN279GOPZjmmk=
golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnfUPMdvaQW0Q7yPrPDi9nlGo2tz2b4=
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c h1:Vj5n4GlwjmQteupaxJ9+0FNOmBrHfq7vN4btdGoDZgI=
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/crypto v0.0.0-20190927123631-a832865fa7ad h1:5E5raQxcv+6CZ11RrBYQe5WRbUIWpScjh0kvHZkZIrQ=
@@ -149,7 +131,6 @@ golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7w
golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
@@ -160,7 +141,6 @@ golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3
golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
-google.golang.org/appengine v1.4.0 h1:/wp5JvzpHIxhs/dumFmF7BXTf3Z+dd4uXta4kVyO508=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
google.golang.org/appengine v1.6.4 h1:WiKh4+/eMB2HaY7QhCfW/R7MuRAoA8QMCSJA6jP5/fo=
@@ -172,7 +152,6 @@ google.golang.org/grpc v1.17.0/go.mod h1:6QZJwpn2B+Zp71q/5VxRsJ6NXXVCE5NRUHRo+f3
google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c=
gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
-gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127 h1:qIbj1fsPNlZgppZ+VLlY7N33q108Sa+fhmuc+sWQYwY=
gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 h1:YR8cESwS4TdDjEe65xsg0ogRM/Nc3DYOhEAlW+xobZo=
gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
@@ -186,7 +165,7 @@ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
xorm.io/builder v0.3.6 h1:ha28mQ2M+TFx96Hxo+iq6tQgnkC9IZkM6D8w9sKHHF8=
xorm.io/builder v0.3.6/go.mod h1:LEFAPISnRzG+zxaxj2vPicRwz67BdhFreKg8yv8/TgU=
-xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb h1:msX3zG3BPl8Ti+LDzP33/9K7BzO/WqFXk610K1kYKfo=
-xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
xorm.io/core v0.7.2 h1:mEO22A2Z7a3fPaZMk6gKL/jMD80iiyNwRrX5HOv3XLw=
xorm.io/core v0.7.2/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
+xorm.io/xorm v0.8.0 h1:iALxgJrX8O00f8Jk22GbZwPmxJNgssV5Mv4uc2HL9PM=
+xorm.io/xorm v0.8.0/go.mod h1:ZkJLEYLoVyg7amJK/5r779bHyzs2AU8f8VMiP6BM7uY=
diff --git a/vendor/github.com/lafriks/xormstore/xormstore.go b/vendor/github.com/lafriks/xormstore/xormstore.go
index 85be25225e..e095508243 100644
--- a/vendor/github.com/lafriks/xormstore/xormstore.go
+++ b/vendor/github.com/lafriks/xormstore/xormstore.go
@@ -44,7 +44,7 @@ import (
"github.com/lafriks/xormstore/util"
- "github.com/go-xorm/xorm"
+ "xorm.io/xorm"
"github.com/gorilla/context"
"github.com/gorilla/securecookie"
"github.com/gorilla/sessions"
diff --git a/vendor/modules.txt b/vendor/modules.txt
index 91f7fce0d9..e24275236a 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -191,8 +191,6 @@ github.com/go-swagger/go-swagger/cmd/swagger/commands/initcmd
github.com/go-swagger/go-swagger/codescan
github.com/go-swagger/go-swagger/generator
github.com/go-swagger/go-swagger/scan
-# github.com/go-xorm/xorm v0.7.9
-github.com/go-xorm/xorm
# github.com/gobwas/glob v0.2.3
github.com/gobwas/glob
github.com/gobwas/glob/compiler
@@ -274,7 +272,7 @@ github.com/klauspost/crc32
github.com/kr/pretty
# github.com/kr/text v0.1.0
github.com/kr/text
-# github.com/lafriks/xormstore v1.3.1
+# github.com/lafriks/xormstore v1.3.2
github.com/lafriks/xormstore
github.com/lafriks/xormstore/util
# github.com/lib/pq v1.2.0
@@ -609,3 +607,5 @@ strk.kbt.io/projects/go/libravatar
xorm.io/builder
# xorm.io/core v0.7.2
xorm.io/core
+# xorm.io/xorm v0.8.0
+xorm.io/xorm
diff --git a/vendor/github.com/go-xorm/xorm/.drone.yml b/vendor/xorm.io/xorm/.drone.yml
index b162d7c8a4..c373975df6 100644
--- a/vendor/github.com/go-xorm/xorm/.drone.yml
+++ b/vendor/xorm.io/xorm/.drone.yml
@@ -6,28 +6,11 @@ platform:
os: linux
arch: amd64
-clone:
- disable: true
-
workspace:
base: /go
- path: src/github.com/go-xorm/xorm
+ path: src/gitea.com/xorm/xorm
steps:
-- name: git
- pull: default
- image: plugins/git:next
- settings:
- depth: 50
- tags: true
-
-- name: init_postgres
- pull: default
- image: postgres:9.5
- commands:
- - "until psql -U postgres -d xorm_test -h pgsql \\\n -c \"SELECT 1;\" >/dev/null 2>&1; do sleep 1; done\n"
- - "psql -U postgres -d xorm_test -h pgsql \\\n -c \"create schema xorm;\"\n"
-
- name: build
pull: default
image: golang:1.10
@@ -186,28 +169,11 @@ platform:
os: linux
arch: amd64
-clone:
- disable: true
-
workspace:
base: /go
- path: src/github.com/go-xorm/xorm
+ path: src/gitea.com/xorm/xorm
steps:
-- name: git
- pull: default
- image: plugins/git:next
- settings:
- depth: 50
- tags: true
-
-- name: init_postgres
- pull: default
- image: postgres:9.5
- commands:
- - "until psql -U postgres -d xorm_test -h pgsql \\\n -c \"SELECT 1;\" >/dev/null 2>&1; do sleep 1; done\n"
- - "psql -U postgres -d xorm_test -h pgsql \\\n -c \"create schema xorm;\"\n"
-
- name: build
pull: default
image: golang:1.11
@@ -406,20 +372,11 @@ platform:
os: linux
arch: amd64
-clone:
- disable: true
-
workspace:
base: /go
- path: src/github.com/go-xorm/xorm
+ path: src/gitea.com/xorm/xorm
steps:
-- name: git
- pull: default
- image: plugins/git:next
- settings:
- depth: 50
- tags: true
- name: build
pull: default
@@ -618,20 +575,11 @@ platform:
os: linux
arch: amd64
-clone:
- disable: true
-
workspace:
base: /go
- path: src/github.com/go-xorm/xorm
+ path: src/gitea.com/xorm/xorm
steps:
-- name: git
- pull: default
- image: plugins/git:next
- settings:
- depth: 50
- tags: true
- name: build
pull: default
diff --git a/vendor/github.com/go-xorm/xorm/.gitignore b/vendor/xorm.io/xorm/.gitignore
index f1757b9830..f1757b9830 100644
--- a/vendor/github.com/go-xorm/xorm/.gitignore
+++ b/vendor/xorm.io/xorm/.gitignore
diff --git a/vendor/github.com/go-xorm/xorm/CONTRIBUTING.md b/vendor/xorm.io/xorm/CONTRIBUTING.md
index 37f4bc5fa8..442aa4d311 100644
--- a/vendor/github.com/go-xorm/xorm/CONTRIBUTING.md
+++ b/vendor/xorm.io/xorm/CONTRIBUTING.md
@@ -32,10 +32,10 @@ proposed functionality.
We appreciate any bug reports, but especially ones with self-contained
(doesn't depend on code outside of xorm), minimal (can't be simplified
further) test cases. It's especially helpful if you can submit a pull
-request with just the failing test case(you can find some example test file like [session_get_test.go](https://github.com/go-xorm/xorm/blob/master/session_get_test.go)).
+request with just the failing test case(you can find some example test file like [session_get_test.go](https://gitea.com/xorm/xorm/src/branch/master/session_get_test.go)).
If you implements a new database interface, you maybe need to add a test_<databasename>.sh file.
-For example, [mysql_test.go](https://github.com/go-xorm/xorm/blob/master/test_mysql.sh)
+For example, [mysql_test.go](https://gitea.com/xorm/xorm/src/branch/master/test_mysql.sh)
### New functionality
diff --git a/vendor/github.com/go-xorm/xorm/LICENSE b/vendor/xorm.io/xorm/LICENSE
index 84d2ae5386..84d2ae5386 100644
--- a/vendor/github.com/go-xorm/xorm/LICENSE
+++ b/vendor/xorm.io/xorm/LICENSE
diff --git a/vendor/github.com/go-xorm/xorm/README.md b/vendor/xorm.io/xorm/README.md
index 62b40ba304..17a6ed37ff 100644
--- a/vendor/github.com/go-xorm/xorm/README.md
+++ b/vendor/xorm.io/xorm/README.md
@@ -1,11 +1,11 @@
# xorm
-[中文](https://github.com/go-xorm/xorm/blob/master/README_CN.md)
+[中文](https://gitea.com/xorm/xorm/src/branch/master/README_CN.md)
Xorm is a simple and powerful ORM for Go.
-[![CircleCI](https://circleci.com/gh/go-xorm/xorm.svg?style=shield)](https://circleci.com/gh/go-xorm/xorm) [![codecov](https://codecov.io/gh/go-xorm/xorm/branch/master/graph/badge.svg)](https://codecov.io/gh/go-xorm/xorm)
-[![](https://goreportcard.com/badge/github.com/go-xorm/xorm)](https://goreportcard.com/report/github.com/go-xorm/xorm)
+[![Build Status](https://drone.gitea.com/api/badges/xorm/xorm/status.svg)](https://drone.gitea.com/xorm/xorm) [![](http://gocover.io/_badge/xorm.io/xorm)](https://gocover.io/xorm.io/xorm)
+[![](https://goreportcard.com/badge/xorm.io/xorm)](https://goreportcard.com/report/xorm.io/xorm)
[![Join the chat at https://img.shields.io/discord/323460943201959939.svg](https://img.shields.io/discord/323460943201959939.svg)](https://discord.gg/HuR2CF3)
## Features
@@ -56,13 +56,13 @@ Drivers for Go's sql package which currently support database/sql includes:
## Installation
- go get github.com/go-xorm/xorm
+ go get xorm.io/xorm
## Documents
* [Manual](http://xorm.io/docs)
-* [GoDoc](http://godoc.org/github.com/go-xorm/xorm)
+* [GoDoc](http://godoc.org/xorm.io/xorm)
## Quick Start
@@ -337,7 +337,7 @@ if _, err := session.Exec("delete from userinfo where username = ?", user2.Usern
return nil
```
-* Transation should on one go routine. There is transaction and resue session memory
+* Transation should be on one go routine. There is transaction and resue session memory
```Go
session := engine.NewSession()
@@ -419,7 +419,7 @@ res, err := engine.Transaction(func(session *xorm.Session) (interface{}, error)
## Contributing
-If you want to pull request, please see [CONTRIBUTING](https://github.com/go-xorm/xorm/blob/master/CONTRIBUTING.md). And we also provide [Xorm on Google Groups](https://groups.google.com/forum/#!forum/xorm) to discuss.
+If you want to pull request, please see [CONTRIBUTING](https://gitea.com/xorm/xorm/src/branch/master/CONTRIBUTING.md). And we also provide [Xorm on Google Groups](https://groups.google.com/forum/#!forum/xorm) to discuss.
## Credits
diff --git a/vendor/github.com/go-xorm/xorm/README_CN.md b/vendor/xorm.io/xorm/README_CN.md
index 0cec6ed5c6..644bdc0b63 100644
--- a/vendor/github.com/go-xorm/xorm/README_CN.md
+++ b/vendor/xorm.io/xorm/README_CN.md
@@ -1,11 +1,11 @@
# xorm
-[English](https://github.com/go-xorm/xorm/blob/master/README.md)
+[English](https://gitea.com/xorm/xorm/src/branch/master/README.md)
xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作非常简便。
-[![CircleCI](https://circleci.com/gh/go-xorm/xorm.svg?style=shield)](https://circleci.com/gh/go-xorm/xorm) [![codecov](https://codecov.io/gh/go-xorm/xorm/branch/master/graph/badge.svg)](https://codecov.io/gh/go-xorm/xorm)
-[![](https://goreportcard.com/badge/github.com/go-xorm/xorm)](https://goreportcard.com/report/github.com/go-xorm/xorm)
+[![Build Status](https://drone.gitea.com/api/badges/xorm/builder/status.svg)](https://drone.gitea.com/xorm/builder) [![](http://gocover.io/_badge/xorm.io/xorm)](https://gocover.io/xorm.io/xorm)
+[![](https://goreportcard.com/badge/xorm.io/xorm)](https://goreportcard.com/report/xorm.io/xorm)
[![Join the chat at https://img.shields.io/discord/323460943201959939.svg](https://img.shields.io/discord/323460943201959939.svg)](https://discord.gg/HuR2CF3)
## 特性
@@ -56,15 +56,13 @@ xorm是一个简单而强大的Go语言ORM库. 通过它可以使数据库操作
## 安装
- go get github.com/go-xorm/xorm
+ go get xorm.io/xorm
## 文档
* [操作指南](http://xorm.io/docs)
-* [GoWalker代码文档](http://gowalker.org/github.com/go-xorm/xorm)
-
-* [Godoc代码文档](http://godoc.org/github.com/go-xorm/xorm)
+* [Godoc代码文档](http://godoc.org/xorm.io/xorm)
# 快速开始
@@ -414,7 +412,7 @@ res, err := engine.Transaction(func(session *xorm.Session) (interface{}, error)
## 贡献
-如果您也想为Xorm贡献您的力量,请查看 [CONTRIBUTING](https://github.com/go-xorm/xorm/blob/master/CONTRIBUTING.md)。您也可以加入QQ群 技术帮助和讨论。
+如果您也想为Xorm贡献您的力量,请查看 [CONTRIBUTING](https://gitea.com/xorm/xorm/src/branch/master/CONTRIBUTING.md)。您也可以加入QQ群 技术帮助和讨论。
群一:280360085 (已满)
群二:795010183
diff --git a/vendor/github.com/go-xorm/xorm/cache_lru.go b/vendor/xorm.io/xorm/cache_lru.go
index ab948bd28e..ab948bd28e 100644
--- a/vendor/github.com/go-xorm/xorm/cache_lru.go
+++ b/vendor/xorm.io/xorm/cache_lru.go
diff --git a/vendor/github.com/go-xorm/xorm/cache_memory_store.go b/vendor/xorm.io/xorm/cache_memory_store.go
index 0c483f4583..0c483f4583 100644
--- a/vendor/github.com/go-xorm/xorm/cache_memory_store.go
+++ b/vendor/xorm.io/xorm/cache_memory_store.go
diff --git a/vendor/github.com/go-xorm/xorm/context_cache.go b/vendor/xorm.io/xorm/context_cache.go
index 1bc2288496..1bc2288496 100644
--- a/vendor/github.com/go-xorm/xorm/context_cache.go
+++ b/vendor/xorm.io/xorm/context_cache.go
diff --git a/vendor/github.com/go-xorm/xorm/convert.go b/vendor/xorm.io/xorm/convert.go
index 2316ca0b4d..2316ca0b4d 100644
--- a/vendor/github.com/go-xorm/xorm/convert.go
+++ b/vendor/xorm.io/xorm/convert.go
diff --git a/vendor/github.com/go-xorm/xorm/dialect_mssql.go b/vendor/xorm.io/xorm/dialect_mssql.go
index 29070da2fb..29070da2fb 100644
--- a/vendor/github.com/go-xorm/xorm/dialect_mssql.go
+++ b/vendor/xorm.io/xorm/dialect_mssql.go
diff --git a/vendor/github.com/go-xorm/xorm/dialect_mysql.go b/vendor/xorm.io/xorm/dialect_mysql.go
index cf1dbb6f21..cf1dbb6f21 100644
--- a/vendor/github.com/go-xorm/xorm/dialect_mysql.go
+++ b/vendor/xorm.io/xorm/dialect_mysql.go
diff --git a/vendor/github.com/go-xorm/xorm/dialect_oracle.go b/vendor/xorm.io/xorm/dialect_oracle.go
index 15010ca5a3..15010ca5a3 100644
--- a/vendor/github.com/go-xorm/xorm/dialect_oracle.go
+++ b/vendor/xorm.io/xorm/dialect_oracle.go
diff --git a/vendor/github.com/go-xorm/xorm/dialect_postgres.go b/vendor/xorm.io/xorm/dialect_postgres.go
index ccef3086b2..ccef3086b2 100644
--- a/vendor/github.com/go-xorm/xorm/dialect_postgres.go
+++ b/vendor/xorm.io/xorm/dialect_postgres.go
diff --git a/vendor/github.com/go-xorm/xorm/dialect_sqlite3.go b/vendor/xorm.io/xorm/dialect_sqlite3.go
index 0a290f3c48..0a290f3c48 100644
--- a/vendor/github.com/go-xorm/xorm/dialect_sqlite3.go
+++ b/vendor/xorm.io/xorm/dialect_sqlite3.go
diff --git a/vendor/github.com/go-xorm/xorm/doc.go b/vendor/xorm.io/xorm/doc.go
index a687e69476..9620bca19f 100644
--- a/vendor/github.com/go-xorm/xorm/doc.go
+++ b/vendor/xorm.io/xorm/doc.go
@@ -10,7 +10,7 @@ Installation
Make sure you have installed Go 1.6+ and then:
- go get github.com/go-xorm/xorm
+ go get xorm.io/xorm
Create Engine
diff --git a/vendor/github.com/go-xorm/xorm/engine.go b/vendor/xorm.io/xorm/engine.go
index 4ed0f77a92..4ed0f77a92 100644
--- a/vendor/github.com/go-xorm/xorm/engine.go
+++ b/vendor/xorm.io/xorm/engine.go
diff --git a/vendor/github.com/go-xorm/xorm/engine_cond.go b/vendor/xorm.io/xorm/engine_cond.go
index 702ac80434..702ac80434 100644
--- a/vendor/github.com/go-xorm/xorm/engine_cond.go
+++ b/vendor/xorm.io/xorm/engine_cond.go
diff --git a/vendor/github.com/go-xorm/xorm/engine_context.go b/vendor/xorm.io/xorm/engine_context.go
index c6cbb76c1d..c6cbb76c1d 100644
--- a/vendor/github.com/go-xorm/xorm/engine_context.go
+++ b/vendor/xorm.io/xorm/engine_context.go
diff --git a/vendor/github.com/go-xorm/xorm/engine_group.go b/vendor/xorm.io/xorm/engine_group.go
index 42d49eca93..42d49eca93 100644
--- a/vendor/github.com/go-xorm/xorm/engine_group.go
+++ b/vendor/xorm.io/xorm/engine_group.go
diff --git a/vendor/github.com/go-xorm/xorm/engine_group_policy.go b/vendor/xorm.io/xorm/engine_group_policy.go
index 5b56e8995f..5b56e8995f 100644
--- a/vendor/github.com/go-xorm/xorm/engine_group_policy.go
+++ b/vendor/xorm.io/xorm/engine_group_policy.go
diff --git a/vendor/github.com/go-xorm/xorm/engine_table.go b/vendor/xorm.io/xorm/engine_table.go
index eb5aa850af..eb5aa850af 100644
--- a/vendor/github.com/go-xorm/xorm/engine_table.go
+++ b/vendor/xorm.io/xorm/engine_table.go
diff --git a/vendor/github.com/go-xorm/xorm/error.go b/vendor/xorm.io/xorm/error.go
index a67527acda..a67527acda 100644
--- a/vendor/github.com/go-xorm/xorm/error.go
+++ b/vendor/xorm.io/xorm/error.go
diff --git a/vendor/github.com/go-xorm/xorm/gen_reserved.sh b/vendor/xorm.io/xorm/gen_reserved.sh
index 434a1bfcb0..434a1bfcb0 100644
--- a/vendor/github.com/go-xorm/xorm/gen_reserved.sh
+++ b/vendor/xorm.io/xorm/gen_reserved.sh
diff --git a/vendor/xorm.io/xorm/go.mod b/vendor/xorm.io/xorm/go.mod
new file mode 100644
index 0000000000..6d8b58f41a
--- /dev/null
+++ b/vendor/xorm.io/xorm/go.mod
@@ -0,0 +1,15 @@
+module xorm.io/xorm
+
+go 1.11
+
+require (
+ github.com/denisenkom/go-mssqldb v0.0.0-20190707035753-2be1aa521ff4
+ github.com/go-sql-driver/mysql v1.4.1
+ github.com/kr/pretty v0.1.0 // indirect
+ github.com/lib/pq v1.0.0
+ github.com/mattn/go-sqlite3 v1.10.0
+ github.com/stretchr/testify v1.4.0
+ github.com/ziutek/mymysql v1.5.4
+ xorm.io/builder v0.3.6
+ xorm.io/core v0.7.2
+)
diff --git a/vendor/github.com/go-xorm/xorm/go.sum b/vendor/xorm.io/xorm/go.sum
index cf637a8e06..2102cc5b7a 100644
--- a/vendor/github.com/go-xorm/xorm/go.sum
+++ b/vendor/xorm.io/xorm/go.sum
@@ -10,8 +10,6 @@ github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRF
github.com/apache/thrift v0.12.0/go.mod h1:cp2SuWMxlEZw2r+iP2GNCdIi4C1qmUzdZFSVb+bacwQ=
github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod h1:Dwedo/Wpr24TaqPxmxbtue+5NUziq4I4S80YR8gNf3Q=
github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw=
-github.com/cockroachdb/apd v1.1.0 h1:3LFP3629v+1aKXU5Q37mxmRxX/pIu1nijXydLShEq5I=
-github.com/cockroachdb/apd v1.1.0/go.mod h1:8Sl8LxpKi29FqWXR16WEFZRNSz3SoPzUzeMeY4+DwBQ=
github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
@@ -28,15 +26,12 @@ github.com/go-sql-driver/mysql v1.4.1/go.mod h1:zAC/RDZ24gD3HViQzih4MyKcchzm+sOG
github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/melR3HDY=
github.com/go-xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a h1:9wScpmSP5A3Bk8V3XHWUcJmYTh+ZnlHVyc+A4oZYS3Y=
github.com/go-xorm/sqlfiddle v0.0.0-20180821085327-62ce714f951a/go.mod h1:56xuuqnHyryaerycW3BfssRdxQstACi0Epw/yC5E2xM=
-github.com/gofrs/uuid v3.2.0+incompatible h1:y12jRkkFxsd7GpqdSZ+/KCs/fJbqpEXSGd4+jfEaewE=
-github.com/gofrs/uuid v3.2.0+incompatible/go.mod h1:b2aQJv3Z4Fp6yNu3cdSllBxTCLRxnplIgP/c0N/04lM=
github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/gogo/protobuf v1.2.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
github.com/golang/mock v1.1.1/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/mock v1.2.0/go.mod h1:oTYuIxOrZwtPieC+H1uAHpcLFnEyAGVDL/k47Jfbm0A=
github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
-github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U=
github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q=
github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ=
github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ=
@@ -48,15 +43,16 @@ github.com/gorilla/context v1.1.1/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51
github.com/gorilla/mux v1.6.2/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
github.com/hashicorp/golang-lru v0.5.0/go.mod h1:/m3WP610KZHVQ1SGc6re/UDhFvYD7pJ4Ao+sR/qLZy8=
github.com/hpcloud/tail v1.0.0/go.mod h1:ab1qPbhIpdTxEkNHXyeSf5vhxWSCs/tWer42PpOxQnU=
-github.com/jackc/fake v0.0.0-20150926172116-812a484cc733 h1:vr3AYkKovP8uR8AvSGGUK1IDqRa5lAAvEkZG1LKaCRc=
-github.com/jackc/fake v0.0.0-20150926172116-812a484cc733/go.mod h1:WrMFNQdiFJ80sQsxDoMokWK1W5TQtxBFNpzWTD84ibQ=
-github.com/jackc/pgx v3.6.0+incompatible h1:bJeo4JdVbDAW8KB2m8XkFeo8CPipREoG37BwEoKGz+Q=
-github.com/jackc/pgx v3.6.0+incompatible/go.mod h1:0ZGrqGqkRlliWnWB4zKnWtjbSWbGkVEFm4TeybAXq+I=
github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod h1:6v2b51hI/fHJwM22ozAgKL4VKDeJcHhJFhtBdhmNjmU=
github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
github.com/kisielk/gotool v1.0.0/go.mod h1:XhKaO+MFFWcvkIS/tQcRk01m1F5IRFswLeQ+oQHNcck=
github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod h1:T0+1ngSBFLxvqU3pZ+m/2kptfBszLMUkC4ZK/EgS/cQ=
github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod h1:+0opPa2QZZtGFBFZlji/RkVcI2GknAs/DXo4wKdlNEc=
+github.com/kr/pretty v0.1.0 h1:L/CwN0zerZDmRFUapSPitk6f+Q3+0za1rQkzVuMiMFI=
+github.com/kr/pretty v0.1.0/go.mod h1:dAy3ld7l9f0ibDNOQOHHMYYIIbhfbHSm3C4ZsoJORNo=
+github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
+github.com/kr/text v0.1.0 h1:45sCR5RtlFHMR4UwH9sdQ5TC8v0qDQCHnXt+kaKSTVE=
+github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
github.com/lib/pq v1.0.0 h1:X5PMW56eZitiTeO7tKzZxFCSpbFZJtkMMooicw2us9A=
github.com/lib/pq v1.0.0/go.mod h1:5WUZQaWbwv1U+lTReE5YruASi9Al49XbQIvNi/34Woo=
github.com/mattn/go-sqlite3 v1.10.0 h1:jbhqpg7tQe4SupckyijYiy0mJJ/pRyHvXf7JdWK860o=
@@ -69,8 +65,6 @@ github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1Cpa
github.com/openzipkin/zipkin-go v0.1.6/go.mod h1:QgAqvLzwWbR/WpD4A3cGpPtJrZXNIiJc5AZX7/PBEpw=
github.com/pierrec/lz4 v2.0.5+incompatible/go.mod h1:pdkljMzZIN41W+lC3N2tnIh5sFi+IEE17M5jbnwPHcY=
github.com/pkg/errors v0.8.0/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
-github.com/pkg/errors v0.8.1 h1:iURUrRGxPUNPdy5/HRSm+Yj6okJ6UtLINN0Q9M4+h3I=
-github.com/pkg/errors v0.8.1/go.mod h1:bwawxfHBFNV+L2hUp1rHADufV3IMtnDRdf1r5NINEl0=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/prometheus/client_golang v0.9.1/go.mod h1:7SWBe2y4D6OKWSNQJUaRYU/AaXPKyh/dDVn+NZz0KFw=
@@ -81,8 +75,6 @@ github.com/prometheus/common v0.2.0/go.mod h1:TNfzLD0ON7rHzMJeJkieUDPYmFC7Snx/y8
github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/prometheus/procfs v0.0.0-20190117184657-bf6a532e95b1/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
github.com/rcrowley/go-metrics v0.0.0-20181016184325-3113b8401b8a/go.mod h1:bCqnVzQkZxMG4s8nGwiZ5l3QUCyqpo9Y+/ZMZ9VjZe4=
-github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24 h1:pntxY8Ary0t43dCZ5dqY4YTJCObLY1kIXl0uzMv+7DE=
-github.com/shopspring/decimal v0.0.0-20180709203117-cd690d0c9e24/go.mod h1:M+9NzErvs504Cn4c5DxATwIqPbtswREoFCre64PpcG4=
github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
@@ -98,8 +90,6 @@ golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod h1:6SG95UA2DQfeDnf
golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c h1:Vj5n4GlwjmQteupaxJ9+0FNOmBrHfq7vN4btdGoDZgI=
golang.org/x/crypto v0.0.0-20190325154230-a5d413f7728c/go.mod h1:djNgcEr1/C05ACkg1iLfiJU5Ep61QUkGW8qpdssI0+w=
-golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5 h1:58fnuSXlxZmFdJyvtTFVmVhcMLU6v5fEb/ok4wyqtNU=
-golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod h1:yigFU9vqHzYiE8UmvKecakEJjdnWj3jj499lnFckfCI=
golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod h1:CJ0aWSM057203Lf6IL+f9T1iT9GByDxfZKAQTCR3kQA=
golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod h1:UVdnD1Gm6xHRNCYTkRU2/jEulfH38KcIWyp/GAMgvoE=
golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod h1:wehouNa3lNwaWXcvxsM5YxQ5yQlVC4a0KAMCusXpPoU=
@@ -112,34 +102,25 @@ golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod h1:mL1N/T3taQHkDXs73r
golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4=
golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod h1:t9HGtf8HONx5eT2rtn7q6eTqICYqUVnKs3thJo3Qplg=
-golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod h1:HSz+uSET+XFnRR8LxR5pz3Of3rY3CfYBVs4xY44aLks=
golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod h1:N/0e6XlmueqKjAGxoOufVs8QHGRruUQn6yWY3a++T0U=
golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
-golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20181122145206-62eef0e2fa9b/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY=
-golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
-golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs=
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
-golang.org/x/text v0.3.2 h1:tW2bmiBqwgJj/UpqtC8EpXEZVYOwU0yG4iWbprSVAcs=
-golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
-golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ=
golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod h1:9Yl7xja0Znq3iFh3HoIrodX9oNMXvdceNzlUR8zjMvY=
golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
-golang.org/x/tools v0.0.0-20190606050223-4d9ae51c2468/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
google.golang.org/api v0.3.1/go.mod h1:6wY9I6uQWHQ8EM57III9mq/AjF+i8G65rmVagqKMtkk=
google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM=
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
@@ -164,9 +145,5 @@ honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod h1:rf3lG4BRIbNafJWh
honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod h1:rf3lG4BRIbNafJWhAfAdb/ePZxsR/4RtNHQocxwk9r4=
xorm.io/builder v0.3.6 h1:ha28mQ2M+TFx96Hxo+iq6tQgnkC9IZkM6D8w9sKHHF8=
xorm.io/builder v0.3.6/go.mod h1:LEFAPISnRzG+zxaxj2vPicRwz67BdhFreKg8yv8/TgU=
-xorm.io/core v0.7.0 h1:hKxuOKWZNeiFQsSuGet/KV8HZ788hclvAl+7azx3tkM=
-xorm.io/core v0.7.0/go.mod h1:TuOJjIVa7e3w/rN8tDcAvuLBMtwzdHPbyOzE6Gk1EUI=
-xorm.io/core v0.7.1 h1:I6x6Q6dYb67aDEoYFWr2t8UcKIYjJPyCHS+aXuj5V0Y=
-xorm.io/core v0.7.1/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
-xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb h1:msX3zG3BPl8Ti+LDzP33/9K7BzO/WqFXk610K1kYKfo=
-xorm.io/core v0.7.2-0.20190928055935-90aeac8d08eb/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
+xorm.io/core v0.7.2 h1:mEO22A2Z7a3fPaZMk6gKL/jMD80iiyNwRrX5HOv3XLw=
+xorm.io/core v0.7.2/go.mod h1:jJfd0UAEzZ4t87nbQYtVjmqpIODugN6PD2D9E+dJvdM=
diff --git a/vendor/github.com/go-xorm/xorm/helpers.go b/vendor/xorm.io/xorm/helpers.go
index a31e922c0b..a31e922c0b 100644
--- a/vendor/github.com/go-xorm/xorm/helpers.go
+++ b/vendor/xorm.io/xorm/helpers.go
diff --git a/vendor/github.com/go-xorm/xorm/helpler_time.go b/vendor/xorm.io/xorm/helpler_time.go
index f4013e27e1..f4013e27e1 100644
--- a/vendor/github.com/go-xorm/xorm/helpler_time.go
+++ b/vendor/xorm.io/xorm/helpler_time.go
diff --git a/vendor/github.com/go-xorm/xorm/interface.go b/vendor/xorm.io/xorm/interface.go
index a564db1260..a564db1260 100644
--- a/vendor/github.com/go-xorm/xorm/interface.go
+++ b/vendor/xorm.io/xorm/interface.go
diff --git a/vendor/github.com/go-xorm/xorm/json.go b/vendor/xorm.io/xorm/json.go
index fdb6ce5654..fdb6ce5654 100644
--- a/vendor/github.com/go-xorm/xorm/json.go
+++ b/vendor/xorm.io/xorm/json.go
diff --git a/vendor/github.com/go-xorm/xorm/logger.go b/vendor/xorm.io/xorm/logger.go
index 7b26e77f3b..7b26e77f3b 100644
--- a/vendor/github.com/go-xorm/xorm/logger.go
+++ b/vendor/xorm.io/xorm/logger.go
diff --git a/vendor/github.com/go-xorm/xorm/pg_reserved.txt b/vendor/xorm.io/xorm/pg_reserved.txt
index 720ed377ba..720ed377ba 100644
--- a/vendor/github.com/go-xorm/xorm/pg_reserved.txt
+++ b/vendor/xorm.io/xorm/pg_reserved.txt
diff --git a/vendor/github.com/go-xorm/xorm/processors.go b/vendor/xorm.io/xorm/processors.go
index dcd9c6ac0b..dcd9c6ac0b 100644
--- a/vendor/github.com/go-xorm/xorm/processors.go
+++ b/vendor/xorm.io/xorm/processors.go
diff --git a/vendor/github.com/go-xorm/xorm/rows.go b/vendor/xorm.io/xorm/rows.go
index bdd44589f8..bdd44589f8 100644
--- a/vendor/github.com/go-xorm/xorm/rows.go
+++ b/vendor/xorm.io/xorm/rows.go
diff --git a/vendor/github.com/go-xorm/xorm/session.go b/vendor/xorm.io/xorm/session.go
index b33955fdce..b33955fdce 100644
--- a/vendor/github.com/go-xorm/xorm/session.go
+++ b/vendor/xorm.io/xorm/session.go
diff --git a/vendor/github.com/go-xorm/xorm/session_cols.go b/vendor/xorm.io/xorm/session_cols.go
index 1558074f3d..1558074f3d 100644
--- a/vendor/github.com/go-xorm/xorm/session_cols.go
+++ b/vendor/xorm.io/xorm/session_cols.go
diff --git a/vendor/github.com/go-xorm/xorm/session_cond.go b/vendor/xorm.io/xorm/session_cond.go
index b16bdea8e0..b16bdea8e0 100644
--- a/vendor/github.com/go-xorm/xorm/session_cond.go
+++ b/vendor/xorm.io/xorm/session_cond.go
diff --git a/vendor/github.com/go-xorm/xorm/session_context.go b/vendor/xorm.io/xorm/session_context.go
index 915f056858..915f056858 100644
--- a/vendor/github.com/go-xorm/xorm/session_context.go
+++ b/vendor/xorm.io/xorm/session_context.go
diff --git a/vendor/github.com/go-xorm/xorm/session_convert.go b/vendor/xorm.io/xorm/session_convert.go
index caff5d2624..7f11354d5e 100644
--- a/vendor/github.com/go-xorm/xorm/session_convert.go
+++ b/vendor/xorm.io/xorm/session_convert.go
@@ -84,6 +84,10 @@ func (session *Session) byte2Time(col *core.Column, data []byte) (outTime time.T
return session.str2Time(col, string(data))
}
+var (
+ nullFloatType = reflect.TypeOf(sql.NullFloat64{})
+)
+
// convert a db data([]byte) to a field value
func (session *Session) bytes2Value(col *core.Column, fieldValue *reflect.Value, data []byte) error {
if structConvert, ok := fieldValue.Addr().Interface().(core.Conversion); ok {
@@ -583,6 +587,12 @@ func (session *Session) value2Interface(col *core.Column, fieldValue reflect.Val
t := fieldValue.Convert(core.TimeType).Interface().(time.Time)
tf := session.engine.formatColTime(col, t)
return tf, nil
+ } else if fieldType.ConvertibleTo(nullFloatType) {
+ t := fieldValue.Convert(nullFloatType).Interface().(sql.NullFloat64)
+ if !t.Valid {
+ return nil, nil
+ }
+ return t.Float64, nil
}
if !col.SQLType.IsJson() {
diff --git a/vendor/github.com/go-xorm/xorm/session_delete.go b/vendor/xorm.io/xorm/session_delete.go
index 675d4d8c7d..675d4d8c7d 100644
--- a/vendor/github.com/go-xorm/xorm/session_delete.go
+++ b/vendor/xorm.io/xorm/session_delete.go
diff --git a/vendor/github.com/go-xorm/xorm/session_exist.go b/vendor/xorm.io/xorm/session_exist.go
index 660cc47e42..660cc47e42 100644
--- a/vendor/github.com/go-xorm/xorm/session_exist.go
+++ b/vendor/xorm.io/xorm/session_exist.go
diff --git a/vendor/github.com/go-xorm/xorm/session_find.go b/vendor/xorm.io/xorm/session_find.go
index 6b8aa469db..e16ae54c94 100644
--- a/vendor/github.com/go-xorm/xorm/session_find.go
+++ b/vendor/xorm.io/xorm/session_find.go
@@ -110,7 +110,7 @@ func (session *Session) find(rowsSlicePtr interface{}, condiBean ...interface{})
}
} else {
// !oinume! Add "<col> IS NULL" to WHERE whatever condiBean is given.
- // See https://github.com/go-xorm/xorm/issues/179
+ // See https://gitea.com/xorm/xorm/issues/179
if col := table.DeletedColumn(); col != nil && !session.statement.unscoped { // tag "deleted" is enabled
var colName = session.engine.Quote(col.Name)
if addedTableName {
diff --git a/vendor/github.com/go-xorm/xorm/session_get.go b/vendor/xorm.io/xorm/session_get.go
index cc0a2019ea..cc0a2019ea 100644
--- a/vendor/github.com/go-xorm/xorm/session_get.go
+++ b/vendor/xorm.io/xorm/session_get.go
diff --git a/vendor/github.com/go-xorm/xorm/session_insert.go b/vendor/xorm.io/xorm/session_insert.go
index 1e19ce7a4e..1e19ce7a4e 100644
--- a/vendor/github.com/go-xorm/xorm/session_insert.go
+++ b/vendor/xorm.io/xorm/session_insert.go
diff --git a/vendor/github.com/go-xorm/xorm/session_iterate.go b/vendor/xorm.io/xorm/session_iterate.go
index ca996c2884..ca996c2884 100644
--- a/vendor/github.com/go-xorm/xorm/session_iterate.go
+++ b/vendor/xorm.io/xorm/session_iterate.go
diff --git a/vendor/github.com/go-xorm/xorm/session_query.go b/vendor/xorm.io/xorm/session_query.go
index 21c00b8d7f..21c00b8d7f 100644
--- a/vendor/github.com/go-xorm/xorm/session_query.go
+++ b/vendor/xorm.io/xorm/session_query.go
diff --git a/vendor/github.com/go-xorm/xorm/session_raw.go b/vendor/xorm.io/xorm/session_raw.go
index 67648ef130..67648ef130 100644
--- a/vendor/github.com/go-xorm/xorm/session_raw.go
+++ b/vendor/xorm.io/xorm/session_raw.go
diff --git a/vendor/github.com/go-xorm/xorm/session_schema.go b/vendor/xorm.io/xorm/session_schema.go
index 5e576c29aa..5e576c29aa 100644
--- a/vendor/github.com/go-xorm/xorm/session_schema.go
+++ b/vendor/xorm.io/xorm/session_schema.go
diff --git a/vendor/github.com/go-xorm/xorm/session_stats.go b/vendor/xorm.io/xorm/session_stats.go
index c2cac83069..c2cac83069 100644
--- a/vendor/github.com/go-xorm/xorm/session_stats.go
+++ b/vendor/xorm.io/xorm/session_stats.go
diff --git a/vendor/github.com/go-xorm/xorm/session_tx.go b/vendor/xorm.io/xorm/session_tx.go
index ee3d473f95..ee3d473f95 100644
--- a/vendor/github.com/go-xorm/xorm/session_tx.go
+++ b/vendor/xorm.io/xorm/session_tx.go
diff --git a/vendor/github.com/go-xorm/xorm/session_update.go b/vendor/xorm.io/xorm/session_update.go
index c5c65a452a..c5c65a452a 100644
--- a/vendor/github.com/go-xorm/xorm/session_update.go
+++ b/vendor/xorm.io/xorm/session_update.go
diff --git a/vendor/github.com/go-xorm/xorm/statement.go b/vendor/xorm.io/xorm/statement.go
index ae396c4bae..67e352136f 100644
--- a/vendor/github.com/go-xorm/xorm/statement.go
+++ b/vendor/xorm.io/xorm/statement.go
@@ -149,8 +149,12 @@ func (statement *Statement) And(query interface{}, args ...interface{}) *Stateme
cond := builder.Expr(query.(string), args...)
statement.cond = statement.cond.And(cond)
case map[string]interface{}:
- cond := builder.Eq(query.(map[string]interface{}))
- statement.cond = statement.cond.And(cond)
+ queryMap := query.(map[string]interface{})
+ newMap := make(map[string]interface{})
+ for k, v := range queryMap {
+ newMap[statement.Engine.Quote(k)] = v
+ }
+ statement.cond = statement.cond.And(builder.Eq(newMap))
case builder.Cond:
cond := query.(builder.Cond)
statement.cond = statement.cond.And(cond)
diff --git a/vendor/github.com/go-xorm/xorm/statement_args.go b/vendor/xorm.io/xorm/statement_args.go
index 310f24d6b9..310f24d6b9 100644
--- a/vendor/github.com/go-xorm/xorm/statement_args.go
+++ b/vendor/xorm.io/xorm/statement_args.go
diff --git a/vendor/github.com/go-xorm/xorm/statement_columnmap.go b/vendor/xorm.io/xorm/statement_columnmap.go
index b6523b1e7a..b6523b1e7a 100644
--- a/vendor/github.com/go-xorm/xorm/statement_columnmap.go
+++ b/vendor/xorm.io/xorm/statement_columnmap.go
diff --git a/vendor/github.com/go-xorm/xorm/statement_exprparam.go b/vendor/xorm.io/xorm/statement_exprparam.go
index 4da4f1ea12..4da4f1ea12 100644
--- a/vendor/github.com/go-xorm/xorm/statement_exprparam.go
+++ b/vendor/xorm.io/xorm/statement_exprparam.go
diff --git a/vendor/github.com/go-xorm/xorm/statement_quote.go b/vendor/xorm.io/xorm/statement_quote.go
index e22e0d1471..e22e0d1471 100644
--- a/vendor/github.com/go-xorm/xorm/statement_quote.go
+++ b/vendor/xorm.io/xorm/statement_quote.go
diff --git a/vendor/github.com/go-xorm/xorm/syslogger.go b/vendor/xorm.io/xorm/syslogger.go
index 11ba01e7bd..11ba01e7bd 100644
--- a/vendor/github.com/go-xorm/xorm/syslogger.go
+++ b/vendor/xorm.io/xorm/syslogger.go
diff --git a/vendor/github.com/go-xorm/xorm/tag.go b/vendor/xorm.io/xorm/tag.go
index ec8d5cf05b..ec8d5cf05b 100644
--- a/vendor/github.com/go-xorm/xorm/tag.go
+++ b/vendor/xorm.io/xorm/tag.go
diff --git a/vendor/github.com/go-xorm/xorm/test_mssql.sh b/vendor/xorm.io/xorm/test_mssql.sh
index 7f060cff32..7f060cff32 100644
--- a/vendor/github.com/go-xorm/xorm/test_mssql.sh
+++ b/vendor/xorm.io/xorm/test_mssql.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_mssql_cache.sh b/vendor/xorm.io/xorm/test_mssql_cache.sh
index 76efd6ca0a..76efd6ca0a 100644
--- a/vendor/github.com/go-xorm/xorm/test_mssql_cache.sh
+++ b/vendor/xorm.io/xorm/test_mssql_cache.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_mymysql.sh b/vendor/xorm.io/xorm/test_mymysql.sh
index f7780d14fa..f7780d14fa 100644
--- a/vendor/github.com/go-xorm/xorm/test_mymysql.sh
+++ b/vendor/xorm.io/xorm/test_mymysql.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_mymysql_cache.sh b/vendor/xorm.io/xorm/test_mymysql_cache.sh
index 0100286d65..0100286d65 100644
--- a/vendor/github.com/go-xorm/xorm/test_mymysql_cache.sh
+++ b/vendor/xorm.io/xorm/test_mymysql_cache.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_mysql.sh b/vendor/xorm.io/xorm/test_mysql.sh
index 650e4ee170..650e4ee170 100644
--- a/vendor/github.com/go-xorm/xorm/test_mysql.sh
+++ b/vendor/xorm.io/xorm/test_mysql.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_mysql_cache.sh b/vendor/xorm.io/xorm/test_mysql_cache.sh
index c542e73594..c542e73594 100644
--- a/vendor/github.com/go-xorm/xorm/test_mysql_cache.sh
+++ b/vendor/xorm.io/xorm/test_mysql_cache.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_postgres.sh b/vendor/xorm.io/xorm/test_postgres.sh
index dc1152e0a6..dc1152e0a6 100644
--- a/vendor/github.com/go-xorm/xorm/test_postgres.sh
+++ b/vendor/xorm.io/xorm/test_postgres.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_postgres_cache.sh b/vendor/xorm.io/xorm/test_postgres_cache.sh
index 462fc948cb..462fc948cb 100644
--- a/vendor/github.com/go-xorm/xorm/test_postgres_cache.sh
+++ b/vendor/xorm.io/xorm/test_postgres_cache.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_sqlite.sh b/vendor/xorm.io/xorm/test_sqlite.sh
index 6352b5cb5f..6352b5cb5f 100644
--- a/vendor/github.com/go-xorm/xorm/test_sqlite.sh
+++ b/vendor/xorm.io/xorm/test_sqlite.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_sqlite_cache.sh b/vendor/xorm.io/xorm/test_sqlite_cache.sh
index 75a054c3f1..75a054c3f1 100644
--- a/vendor/github.com/go-xorm/xorm/test_sqlite_cache.sh
+++ b/vendor/xorm.io/xorm/test_sqlite_cache.sh
diff --git a/vendor/github.com/go-xorm/xorm/test_tidb.sh b/vendor/xorm.io/xorm/test_tidb.sh
index 03d2d6cd82..03d2d6cd82 100644
--- a/vendor/github.com/go-xorm/xorm/test_tidb.sh
+++ b/vendor/xorm.io/xorm/test_tidb.sh
diff --git a/vendor/github.com/go-xorm/xorm/transaction.go b/vendor/xorm.io/xorm/transaction.go
index 4104103fd5..4104103fd5 100644
--- a/vendor/github.com/go-xorm/xorm/transaction.go
+++ b/vendor/xorm.io/xorm/transaction.go
diff --git a/vendor/github.com/go-xorm/xorm/types.go b/vendor/xorm.io/xorm/types.go
index c76a546065..c76a546065 100644
--- a/vendor/github.com/go-xorm/xorm/types.go
+++ b/vendor/xorm.io/xorm/types.go
diff --git a/vendor/github.com/go-xorm/xorm/xorm.go b/vendor/xorm.io/xorm/xorm.go
index 26d00d264d..e1c83b56f2 100644
--- a/vendor/github.com/go-xorm/xorm/xorm.go
+++ b/vendor/xorm.io/xorm/xorm.go
@@ -20,7 +20,7 @@ import (
const (
// Version show the xorm's version
- Version string = "0.7.0.0504"
+ Version string = "0.8.0.1015"
)
func regDrvsNDialects() bool {