Skip to content

Commit ff11e49

Browse files
authored
Merge pull request #10 from qit-team/f_fix_xorm
upd:fix xorm bugs and upgrade modules
2 parents cf53ea9 + 069fd16 commit ff11e49

File tree

7 files changed

+67
-47
lines changed

7 files changed

+67
-47
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
## v0.1.19(2020-06-16)
2+
3+
### New Features
4+
- 升级work包v0.3.4->v0.3.9,对列轮询机制修改为滚动递增
5+
6+
### Bug Fix
7+
- 升级xorm包v0.7.4->v1.0.2,修复若干bug
8+
19
## v0.1.17(2019-11-18)
210

311
### New Features

db/db.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
//_ "github.com/denisenkom/go-mssqldb" //mssql
88
"errors"
99
"fmt"
10-
"github.com/go-xorm/xorm"
10+
"xorm.io/xorm"
1111
"github.com/qit-team/snow-core/config"
1212
"time"
1313
"xorm.io/core"

db/db_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package db
22

33
import (
44
"fmt"
5-
"github.com/go-xorm/xorm"
5+
"xorm.io/xorm"
66
"github.com/qit-team/snow-core/config"
77
"testing"
88
//go test时需要开启

db/model.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ package db
22

33
import (
44
"errors"
5-
"github.com/go-xorm/xorm"
5+
"xorm.io/xorm"
66
)
77

88
var (

db/provider.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package db
33
import (
44
"errors"
55
"fmt"
6-
"github.com/go-xorm/xorm"
6+
"xorm.io/xorm"
77
"github.com/qit-team/snow-core/config"
88
"github.com/qit-team/snow-core/helper"
99
"github.com/qit-team/snow-core/kernel/container"

go.mod

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,22 +3,24 @@ module github.com/qit-team/snow-core
33
go 1.12
44

55
require (
6-
github.com/aliyun/aliyun-mns-go-sdk v0.0.0-20190430032852-b20726f9b783
6+
github.com/aliyun/aliyun-mns-go-sdk v0.0.0-20191205082232-b251b9d95415
77
github.com/aliyunmq/mq-http-go-sdk v0.0.0-20190610035126-ef50af8ccc77
88
github.com/facebookgo/stack v0.0.0-20160209184415-751773369052 // indirect
99
github.com/fvbock/endless v0.0.0-20170109170031-447134032cb6
1010
github.com/gin-gonic/gin v1.4.0
11-
github.com/go-sql-driver/mysql v1.4.1
12-
github.com/go-xorm/xorm v0.7.4
13-
github.com/gogap/errors v0.0.0-20160523102334-149c546090d0
11+
github.com/go-sql-driver/mysql v1.5.0
12+
github.com/gogap/errors v0.0.0-20200228125012-531a6449b28c
1413
github.com/gogap/stack v0.0.0-20150131034635-fef68dddd4f8 // indirect
1514
github.com/google/uuid v1.1.1
1615
github.com/hetiansu5/accesslog v1.0.0
1716
github.com/hetiansu5/cores v1.0.0
1817
github.com/hetiansu5/go-redis-pool v1.1.4
19-
github.com/qit-team/work v0.3.4
18+
github.com/klauspost/compress v1.10.7 // indirect
19+
github.com/qit-team/work v0.3.9
2020
github.com/robfig/cron v1.2.0
21-
github.com/sirupsen/logrus v1.4.2
22-
github.com/valyala/fasthttp v1.3.0 // indirect
23-
xorm.io/core v0.6.3
21+
github.com/sirupsen/logrus v1.6.0
22+
github.com/valyala/fasthttp v1.13.1 // indirect
23+
golang.org/x/sys v0.0.0-20200523222454-059865788121 // indirect
24+
xorm.io/core v0.7.3
25+
xorm.io/xorm v1.0.2
2426
)

go.sum

Lines changed: 45 additions & 35 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)