95 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
Xuing
e4cd6b5722
Unified gopkg.in/yaml version to v2 (#5169)
* Unified gopkg.in/yaml version to v2 and go mod tidy

* update CHANGELOG
2023-03-09 15:19:01 +08:00
Ming Deng
9cf5b31d67
fix the docsite URL (#5173) 2023-03-09 15:06:38 +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
Ming Deng
ab5a13f02a
fix 5022: Miss assiging ln to graceful Server (#5028) 2022-07-28 22:53:00 +08:00
Regan Yue
907956fbcf
refine comments for package core (#5014)
* Refine Comments

* refine comments for cache.go

* refine comments for log.go

* Update orm.go

* refine comments for orm_log.go,types.go

* Update utils.go

* Update doc.go

* refine comments

* refine comments

* Update db.go

* refine comments for core
2022-07-19 17:17:06 +08:00
Regan Yue
49be2581d1
Refine Comments : admin/profile.go,bean/mock.go,config/global.go... (#5009)
* Refine Comments

* refine comments for cache.go

* refine comments for log.go

* Update orm.go

* refine comments for orm_log.go,types.go

* Update utils.go

* Update doc.go
2022-07-08 21:19:52 +08:00
Deng Ming
981074340a logs: multiFileLogWriter uses incorrect formatter 2022-05-16 22:13:08 +08:00
darkweak
22b78d011f
Update ini.go 2022-04-30 01:36:00 +02: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
b8cf07fa18 fix bug: etcd should use etcd as adapter name 2022-01-09 16:55:15 +08:00
Deng Ming
3e886f71ca replace beego.me with beego.vip 2021-11-29 21:29:29 +08:00
jincheng9
0906963f8a fix bug: typo 2021-11-17 13:44:23 +08:00
Deng Ming
fe4b84e4f6 fix4791: delay to format parameter 2021-10-25 22:30:21 +08:00
Matthew
27aae0ab09
Update ini.go
minor typo fix. donot -> do not
2021-10-02 18:01:37 -07: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
556e743c84
Merge pull request #4760 from flycash/develop
Merge master. Prepare for release
2021-09-03 12:55:52 +08:00
Ming Deng
4437c6eb11 merge master 2021-09-03 11:40:13 +08:00
chenrui
bf815a310d
fix: word error 2021-08-31 15:23:11 +08:00
chenrui
8bfee444fd
fix(core/config/xml): prompt error when config format is incorrect 2021-08-31 15:20:11 +08:00
Ming Deng
28a6821b32 Remove goyaml2 dependencies 2021-08-30 23:10:26 +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
ruancongyong
b159750ef4 修改changelog信息和deepsource问题 2021-05-24 21:40:52 +08:00
ruancongyong
580d694b0e fix deepsource bug 2021-05-24 21:26:46 +08:00
ruancongyong
4d6b22ef08 Propoal: Convenient way to generate mock object
format code and add unit test
2021-05-22 21:55:04 +08:00
08cde0b55d [fix bug]console more empty line 2021-05-22 14:49:52 +08:00