52 Commits

Author SHA1 Message Date
Kota
6f803ec9a9
fix: use of ioutil package (#5261)
* fix ioutil.NopCloser

* fix ioutil.ReadAll

* fix ioutil.ReadFile

* fix ioutil.WriteFile

* run goimports -w -format-only ./

* update CHANGELOG.md
2023-06-25 18:48:23 +08:00
Ming Deng
444675a2ae
Merge pull request #5235 from testwill/fmt
chore: fmt modify
2023-06-08 22:40:24 +08:00
guoguangwu
1c574a893e chore: unnecessary use of fmt.Sprintf 2023-06-08 13:39:02 +08:00
guoguangwu
e71815cf03 chore: fmt modify 2023-06-08 12:10:16 +08:00
guoguangwu
bf5b9959c6 chore: pkg imported more than once 2023-06-08 12:02:02 +08:00
Deng Ming
3e96b23551 httplib: fix unstable test, do not use httplib.org 2023-06-04 14:32:51 +08:00
hookokoko
eb9ab48baa
add non-block write log in asynchronous mode (#5150)
* add non-block write log in asynchronous mode

---------

Co-authored-by: chenhaokun <chenhaokun@itiger.com>
2023-02-07 10:33:55 +08:00
Stone-afk
031c0fc8af
rft: motify BeeLogger signalChan (#5139) 2023-01-20 13:49:03 +08:00
Deng Ming
5ade9fa025 format code 2022-12-23 11:31:00 +08:00
Ming Deng
eac6c3a4cd
fix 5079: only log msg when the channel is not closed (#5132) 2022-12-22 10:47:01 +08:00
Deng Ming
09815e2128 fix 5129: must set formatter after init the logger 2022-12-20 16:46:55 +08:00
王哈哈
1bb607b286
Modify comment syntax error (#5094) 2022-11-10 18:22:37 +08:00
Deng Ming
981074340a logs: multiFileLogWriter uses incorrect formatter 2022-05-16 22:13:08 +08:00
hezhaoyang
d98ab11096 fix: inject propagator header
feat: set error tag as true
fix: unit test issue
fix: deep source check error
2022-04-25 18:04:15 +08:00
Deng Ming
174291a3c8 fix 4911: make the argument work 2022-04-17 18:27:21 +08:00
Deng Ming
9081c40eaa Merge branch 'master' of github.com:beego/beego into dev 2022-01-28 00:12:47 +08:00
Deng Ming
3e886f71ca replace beego.me with beego.vip 2021-11-29 21:29:29 +08:00
Deng Ming
fe4b84e4f6 fix4791: delay to format parameter 2021-10-25 22:30:21 +08:00
nichtsen
415968070f logs: fix TestFilePermWithPrefixPath function 2021-09-14 15:01:51 +08:00
nichtsen
8ba0b4f1b8 log: use fileinfo interface for tests 2021-09-13 11:21:34 +08:00
nichtsen
a3d2dd12d6 deepsource: fix Control-coupled functions detected 2021-09-08 14:40:46 +08:00
nichtsen
16549e5019 deepsource: fix confusing naming of struct fields 2021-09-08 14:03:59 +08:00
nichtsen
1a52d005b1 logs: fix comment spelling 2021-09-07 19:18:02 +08:00
nichtsen
cc19834f79 deepsource: removing unused method receiver 2021-09-07 19:14:49 +08:00
nichtsen
9587f6d16c deepsource: empty string test improving 2021-09-07 19:12:19 +08:00
nichtsen
435196300e deepsource: simplify error construction 2021-09-07 19:08:55 +08:00
nichtsen
9212d69383 logs: add tests for directory permissions 2021-09-07 19:07:20 +08:00
nichtsen
918bc8d11c add comments for Perm and DirPerm 2021-09-07 18:27:52 +08:00
nichtsen
8b57b22c20 fix numeric notation of permissions 2021-09-07 16:14:43 +08:00
Ming Deng
4437c6eb11 merge master 2021-09-03 11:40:13 +08:00
Ming Deng
334609a1ea Fix 4728: Print wrong file number 2021-08-19 20:20:01 +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
loyalsoldier
41790b80ac
Fix lint and format code in core dir 2021-06-06 21:00:27 +08:00
08cde0b55d [fix bug]console more empty line 2021-05-22 14:49:52 +08:00
loyalsoldier
7b99c324be
Fix code according to deepsource 2021-05-19 22:27:19 +08:00
loyalsoldier
2b7401109f
Chore: format code 2021-05-19 22:27:17 +08:00
Ming Deng
3acc858909 Merge master and develop 2021-04-05 20:55:30 +08:00
王厚伟
10860b2d27 fix log level 2021-03-16 23:22:54 +08:00
Nitin Mohan
f554a1c543 Optimize maligned structs 2021-03-08 13:01:47 +05:30
Ming Deng
45ab79249a Add when to write method 2021-02-21 12:39:46 +08:00
Ming Deng
cec95bb6d0 Fix log format bug 2021-02-05 23:28:58 +08:00
Ming Deng
4855146ac6 Fix log format bug 2021-02-05 23:12:42 +08:00
Jihoon Seo
2bb6c45786 Update beego pkg paths 2021-01-28 13:35:38 +09:00
王厚伟
4b2bd716b6 fix log level 2021-01-03 17:52:48 +08:00
Ming Deng
d4da82ef77 format code 2020-12-14 12:34:55 +08:00
Ming Deng
7bc6010604 rename to v2 2020-12-14 11:12:00 +08:00
Ming Deng
a70f7fc920 using new organization 2020-12-13 23:09:19 +08:00
Ming Deng
49d763dc6c
Merge pull request #4296 from flycash/fix4138
Fix 4138
2020-11-10 21:58:28 +08:00
AllenX2018
b3474b20b9 fix issue 4282 2020-11-10 15:45:34 +08:00
Ming Deng
2a6fadb9ae Fix 4138 2020-11-09 22:46:26 +08:00