179 Commits

Author SHA1 Message Date
Deng Ming
bc63be6d13 fix 5255: Check the rows.Err() if rows.Next() is false 2023-06-20 16:07:23 +08:00
uzziah
ba507e6bf8 fix: unnecessary assignment to the blank identifier 2023-06-10 20:01:11 +08:00
uzziah
38fdcddc82 feat: add write-delete cache mode 2023-06-10 18:32:50 +08:00
Deng Ming
34c5f1d54d Merge branch 'develop' of github.com:beego/beego into develop 2023-06-08 23:51:55 +08:00
Deng Ming
eba4b75489 remove adapter package 2023-06-08 22:58:41 +08:00
Deng Ming
059c504132 orm: refactor ORM introducing internal/models pkg 2023-06-08 22:46:28 +08:00
Ming Deng
90050194fe
Merge pull request #5236 from testwill/kit-log
chore: Use github.com/go-kit/log
2023-06-08 22:40:36 +08:00
guoguangwu
1c574a893e chore: unnecessary use of fmt.Sprintf 2023-06-08 13:39:02 +08:00
guoguangwu
954d935ad1 chore: Use github.com/go-kit/log 2023-06-08 13:22:20 +08:00
Deng Ming
3e96b23551 httplib: fix unstable test, do not use httplib.org 2023-06-04 14:32:51 +08:00
Deng Ming
d216cb76fa cache: fix typo and optimize the naming 2023-05-27 13:21:03 +08:00
cui fliter
53d9e8be69
fix some comments (#5194)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-05-21 13:48:06 +08:00
Stone-afk
0002ad0fb4
bugfix: protect field access with lock to avoid possible data race (#5211) 2023-05-18 21:22:41 +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
hookokoko
109361078d
Bloom filter cache (#5126)
* feature: add bloom filter cache
2022-12-26 23:53:27 +08:00
Deng Ming
5ade9fa025 format code 2022-12-23 11:31:00 +08:00
Deng Ming
48eea4de95 optimize test 2022-12-23 00:52:39 +08:00
Stone-afk
f0a59fe984
feature add singleflight cache (#5119) 2022-12-20 16:32:26 +08:00
hookokoko
1c0cd9838a
feature: add write though for cache mode (#5117)
* feature: add writethough for cache mode
2022-12-17 10:25:39 +08:00
Stone-afk
bd99d27a4f
feature extend readthrough for cache module (#5116)
* feature 增加readthrough
2022-12-15 21:24:17 +08:00
王哈哈
1bb607b286
Modify comment syntax error (#5094) 2022-11-10 18:22:37 +08:00
Regan Yue
493e7db20b
refine comments for for four files (#5011)
* 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

* Update db.go
2022-07-09 18:10:19 +08:00
Kevin Tsang
fa4cc95fd4 fix: add seconds definition 2022-06-29 14:13:52 +08:00
Kevin Tsang
178440bcdd add WithOffsetFunc to define private RandomExpireCache.offset field 2022-06-29 14:11:42 +08:00
kevinzeng
6edee6c9c9 improving the concurrency performance of random value calculation 2022-06-28 13:17:48 +08:00
kevinzeng
4f8e984df6 fix: expose the Offset property to allow external modifications 2022-06-28 13:17:00 +08:00
auual
e36eb1a3c5 add: generic cache random time offset expired. 2022-06-12 22:20:11 +08:00
Ming Deng
5a873ea0f0
Merge pull request #4950 from Dokiys/feature/orm_otel_filter
Feat: add orm opentelemetry filter
2022-05-30 23:20:55 +08:00
Dokiy
f2c28be167 feat: add orm opentelemetry filter 2022-05-29 21:47:53 +08:00
Ming Deng
daf779ffca
Merge pull request #4953 from greenhandatsjtu/feat/refactor-orm
Refactor ORM: rename _modelCache struct to modelCache
2022-05-22 16:36:20 +08:00
greenhandatsjtu
ada107b3fe refine unit tests for getDbCreateSQL 2022-05-21 19:55:33 +08:00
greenhandatsjtu
f9d2b4cb9a Refactor ORM: rename _modelCache struct to modelCache 2022-05-21 10:06:31 +08:00
greenhandatsjtu
a539289b20 Add unit test for getDbCreateSQL() 2022-05-19 14:26:23 +08:00
greenhandatsjtu
d150d85bfd Append column comments to create table sentence when using postgres 2022-05-14 15:17:38 +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
zhaoyang
aee40be93b
Merge branch 'develop' into otel 2022-04-01 13:21:14 +08:00
hezhaoyang
fd84973f67 feat: add NewBeegoRequestWithCtx 2022-03-31 23:20:42 +08:00
hezhaoyang
af030c36b9 feat: add opentelemetry filter 2022-03-31 23:13:24 +08:00
Deng Ming
3a4e2d77b7 upgrade Go version to 1.18 2022-03-31 22:33:07 +08:00
Deng Ming
5eb70b9223 change readme 2022-01-28 00:26:21 +08:00
Deng Ming
3e886f71ca replace beego.me with beego.vip 2021-11-29 21:29:29 +08:00
snehalyelmati
e16fcd46ba SCC-S1023 Redundant control flow fix 2021-10-20 20:36:35 +05:30
Cr
b1fbaa71c3
refactor: fix deepsource analyze 2021-09-07 09:51:33 +08:00
Cr
47f9746e11
refactor: fix deepsource analyze 2021-09-07 09:43:27 +08:00
Cr
7abf5669e4
refactor(wip): fix deepsource analyze 2021-09-06 16:48:22 +08:00
Cr
915cdb94bc
refactor(wip): fix deepsource analyze 2021-09-06 16:04:03 +08:00
Cr
d6866b6b2e
refactor(wip): fix deepsource analyze 2021-09-06 14:05:19 +08:00
Cr
0e9b2c27ea
fix(orm): txOrm miss debug log 2021-09-03 14:23:09 +08:00
Ming Deng
4437c6eb11 merge master 2021-09-03 11:40:13 +08:00