1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-18 14:50:48 +00:00
Commit Graph

3485 Commits

Author SHA1 Message Date
Iskander (Alex) Sharipov
dc07fa7085
cache: remove excessive type assertions
Assign type switch variable to get properly-typed value
inside case clauses.

Signed-off-by: Iskander Sharipov <quasilyte@gmail.com>
2019-01-24 08:52:30 +03:00
JessonChan
1c893996c0 improve the download func code 2019-01-23 12:36:14 +08:00
JessonChan
a9ffc2a078 https://github.com/astaxie/beego/issues/3446
Use UTF-8 as the encoding of the "filename*" parameter, when
                           present, because at least one existing implementation only
                           implements that encoding.
2019-01-23 12:30:57 +08:00
astaxie
712bbfe575
Merge pull request #3498 from JessonChan/develop
change gosimple to staticcheck
2019-01-23 11:31:37 +08:00
JessonChan
0145fe3486 remove SA1024 staticchek 2019-01-22 20:52:06 +08:00
JessonChan
2a579eb27c staticcheck checks -ST1003 remove 2019-01-22 20:41:07 +08:00
JessonChan
5b42afa324 modiyf staticcheck checks 2019-01-22 20:30:05 +08:00
JessonChan
97713849a1 delete stackcheck config file and ignore some staticcheck checks 2019-01-22 20:21:00 +08:00
JessonChan
abc9c38224 ignore some staticcheck checks 2019-01-22 20:04:30 +08:00
JessonChan
f237ff049a redis_sentinel test ignore 2019-01-22 19:45:32 +08:00
JessonChan
00264650b5 modify travis and redis_sentinel test 2019-01-22 19:29:53 +08:00
JessonChan
2956d33bab no need gosimple 2019-01-22 19:12:25 +08:00
JessonChan
c3eca637fb no need gosimple 2019-01-22 19:10:23 +08:00
JessonChan
0d54bbff02 make staticcheck happy 2019-01-22 19:09:57 +08:00
JessonChan
e65a9cbc00 Gosimple has been deprecated. Please use staticcheck instead. 2019-01-22 18:01:14 +08:00
JessonChan
3ed82c0882 Gosimple has been deprecated. Please use staticcheck instead. 2019-01-22 17:43:55 +08:00
JessonChan
475feb7e24 camel name style 2019-01-22 16:25:17 +08:00
JessonChan
30b80cba92 errors is better style 2019-01-22 16:23:10 +08:00
nuczzz
fe519bd2a0 update tls KeepAlive setting 2019-01-20 11:17:10 +08:00
Bharat Patel
f508f8d959 Nil check 2019-01-18 16:51:40 -08:00
nuczzz
e295c3c7c3 add shutdown log 2019-01-18 19:50:22 +08:00
nuczzz
313be996cd call cancel after shutdown 2019-01-18 19:33:45 +08:00
Bharat Patel
2ae480556d Add DBStats method wrapper to provide sql.DBStats when using ormer 2019-01-17 09:56:42 -08:00
nuczzz
7173fd7490 modify http graceful 2019-01-17 20:17:57 +08:00
duyazhe
d792536c23
Update orm_log.go
orm log支持用户自定义函数处理
2019-01-14 15:14:11 +08:00
astaxie
80aabdd372
Merge pull request #3472 from sangheee/develop
fix: negative WaitGroup counter has not been resolved yet.
2019-01-08 23:54:40 +08:00
astaxie
6892369cc6
Merge pull request #3464 from zhl11b/develop
手机号起始三位补全
2019-01-08 23:54:00 +08:00
astaxie
5b80a56c36
Merge pull request #3468 from DennisMao/hotfix/UpdateDependencyGoes
update dependency
2019-01-08 23:52:39 +08:00
sanghee
bf15535a5b fix panic: sync: negative WaitGroup counter 2019-01-03 22:44:32 +09:00
DennisMao
edb1c52dee fix function changes 2019-01-02 17:01:46 +08:00
DennisMao
6e16b8cdcf fix ci losing dependency 2019-01-02 16:46:27 +08:00
DennisMao
24215fb3eb update dependency 2019-01-02 15:37:41 +08:00
zhl11b
d02699a189 add new test case for china mobile phone 2018-12-30 20:51:21 +08:00
zhl11b
2034d1b101 联通171,175 电信173 2018-12-29 17:41:59 +08:00
astaxie
5fe19d639f
Merge pull request #3456 from japettyjohn/master
Fix bug in memcache sessions
2018-12-28 22:35:11 +08:00
James Pettyjohn
1dea80d4ea Fixed error handling in memcache sessions 2018-12-27 16:20:26 -08:00
astaxie
28f0008075
Merge pull request #3434 from zav8/add_sql_null_support
Add support for field of type sql.NullXxx in rawSet.setFieldValue()
2018-12-19 22:26:23 +08:00
zav8
ffe1b00baf Merge branch 'develop' of https://github.com/astaxie/beego into add_sql_null_support 2018-12-18 10:41:17 +08:00
zav8
d2c289193a add test case for QueryRow and QueryRows 2018-12-18 10:37:41 +08:00
astaxie
f867583256
Merge pull request #3433 from DennisMao/FixOrmDescriptionTag
Fix Issue #3337
2018-12-18 09:20:36 +08:00
astaxie
98dfb92e17
Merge pull request #3443 from zhiquan911/develop
add GetProvider
2018-12-18 09:10:17 +08:00
郭一鸣
c8f22be675 Add redis sentinel session support (#3427)
Add Redis Sentinel session support
2018-12-17 14:47:47 +01:00
Chance
f03a7d1128
add GetProvider 2018-12-13 15:37:19 +08:00
zav8
6da4a66c20 merge switch cases 2018-12-06 16:09:39 +08:00
zav8
5e4241fc87 add support for field of type sql.NullXxx in rawSet.setFieldValue() 2018-12-06 16:07:07 +08:00
DennisMao
bf468c8d0c fix format 2018-12-06 10:57:32 +08:00
DennisMao
0d77a3f8d2 FixOrmDescrptionTag 2018-12-06 10:49:50 +08:00
astaxie
1b6edafc96
Merge pull request #3412 from astaxie/develop
v1.11.1
2018-11-30 21:54:26 +08:00
astaxie
8152ade1b6
Merge pull request #3419 from xpzouying/close_fs_when_is_not_nil
Close fs when is not nil
2018-11-30 16:57:49 +08:00
astaxie
6350f8b904
Merge pull request #3420 from xpzouying/format_list_travis_yml
format list in .travis.yml
2018-11-30 16:57:25 +08:00