174 Commits

Author SHA1 Message Date
jianzhiyao
d9f8c03085 fix format 2021-08-05 11:03:05 +08:00
jianzhiyao
61d801c21e fix format 2021-08-05 11:02:13 +08:00
jianzhiyao
d8c4b0fc85 add test example 2021-08-05 10:58:17 +08:00
jianzhiyao
0f40824f57 fix bug:reflect.ValueOf(nil) in getFlatParams 2021-08-05 10:42:54 +08:00
Ming Deng
96c63508df
Merge pull request #4680 from zav8/patch-1
Fix orm.SetMaxOpenConns
2021-08-04 21:51:52 +08:00
sunxingbo
14aeb4880f format the JSONMarshal unit test 2021-07-22 14:15:31 +08:00
Sun XingBo
d6f939ac09
Modify the call of JSONMarshal in the unit test 2021-07-22 13:14:01 +08:00
Sun XingBo
efd710a652
rename Marshal to JSONMarshal 2021-07-22 13:07:17 +08:00
sunxingbo
4a85237faf fix json marshal in http request 2021-07-20 22:38:37 +08:00
zav8
aff59f65fb
Fix orm.SetMaxOpenConns
It should call `SetMaxOpenConns` instead of `SetMaxIdleConns`.
2021-06-29 11:03:34 +08:00
LinXiaoYi
1252b520ae fix sonar problems about regular expression 2021-06-26 00:35:34 +08:00
loyalsoldier
c61ae2d3e1
Fix: remove unnecessary break statements 2021-06-17 03:36:48 +08:00
t29kida
4eb19f938a fix sonar problem
* Delete FIXME comment, because `string == ""` is beter than `len(string)` for checking string existence(by sonar)
* Remove duplicated code
* Fill empty block of code
2021-06-09 19:42:18 +09:00
Ming Deng
b420b064d2
Merge pull request #4652 from Loyalsoldier/httplib-fix-lint
Fix lint and format code in client/httplib dir
2021-06-07 13:01:48 +08:00
Ming Deng
c8e81e5a95
Merge pull request #4651 from Loyalsoldier/cache-fix-lint
Fix lint and format code in client/cache dir
2021-06-06 21:44:15 +08:00
loyalsoldier
1b8c801ec6
Fix lint and format code in client/orm dir 2021-06-06 20:52:38 +08:00
loyalsoldier
a87f8ec82a
Fix lint and format code in client/cache dir 2021-06-06 20:45:00 +08:00
loyalsoldier
c28ae80b11
Fix lint and format code in client/httplib dir 2021-06-06 20:41:10 +08:00
t29kida
de65d82701 fix sonar problem
* replace min limit value with const values
* remove duplicated testcase and add testcase
* put together switch case statement
* fill empty block of code
2021-05-31 18:38:37 +09:00
holooooo
f8df3d1bee fix read on close 2021-05-25 15:15:43 +08:00
holooooo
2182081831 fix lint 2021-05-25 10:10:06 +08:00
holooooo
8a24192762 fix lint 2021-05-25 09:56:54 +08:00
holooooo
00b6c32dc2 remove panic 2021-05-24 15:17:02 +08:00
holooooo
5f5afc111a add xml-roundtrip-validator 2021-05-24 14:45:44 +08:00
holooooo
162247b8a5 fix lint 2021-05-24 11:26:52 +08:00
holooooo
84fa2ccd9a fix lint temp 2021-05-23 23:01:01 +08:00
holooooo
4c4fdf496e Merge branch 'develop' of https://github.com/beego/beego into develop 2021-05-22 15:00:25 +08:00
holooooo
4b1619b105 add more carrier 2021-05-22 14:58:40 +08:00
holooooo
b0d6f3bd2f temp 2021-05-21 16:56:52 +08:00
loyalsoldier
91d993b7e2
Fix imports by gci 2021-05-19 22:28:05 +08:00
loyalsoldier
2b7401109f
Chore: format code 2021-05-19 22:27:17 +08:00
王孟珂
9b91043cf2 update func name according to standard 2021-05-18 23:26:24 +08:00
王孟珂
94029f3339 update func name according to standard 2021-05-18 23:08:33 +08:00
Yu Huang
11dc5484ad Update orm_test.go/TestInsertOrUpdate with table-driven.
Update CHANGELOG

fix lint
2021-05-17 06:47:23 -04:00
holooooo
599e03b0cd Solution 3 2021-05-16 14:18:34 +08:00
holooooo
84946743d9 refactor: improve http client implement 2021-04-22 17:11:27 +08:00
holooooo
672a59d780 fix: Restore a deleted field 2021-04-20 17:57:58 +08:00
holooooo
575bf62fd3 add httpclient add options 2021-04-20 17:54:07 +08:00
holooooo
564a7eb9ff add http client 2021-04-19 17:35:59 +08:00
Ming Deng
629d592003 Add change log Support RollbackUnlessCommit 2021-03-22 00:18:58 +08:00
Ming Deng
c5bd3c3996 Support RollbackUnlessCommit 2021-03-21 23:52:55 +08:00
jianzhiyao
70b011eef7 fix UT 2021-03-08 17:47:48 +08:00
jianzhiyao
82b20c585e fix UT 2021-03-08 17:31:46 +08:00
jianzhiyao
82c4d4e134
fix golangci-lint check error 2021-03-08 16:35:48 +08:00
Nitin Mohan
f554a1c543 Optimize maligned structs 2021-03-08 13:01:47 +05:30
shubhendra
644291c028
Replace time.Now().Sub with time.Since 2021-02-25 15:58:45 +05:30
shubhendra
512133e14b
Remove unnecessary use of slice 2021-02-25 15:58:44 +05:30
shubhendra
b849cfc18c
Fix unnecessary allocations due to Index calls 2021-02-25 15:58:42 +05:30
AllenX2018
1c9f9e79e7 Fix orm many2many generated table error 2021-02-18 18:16:40 +08:00
Ming Deng
9da720d8ba Merge develop 2021-02-13 22:19:52 +08:00