Commit Graph

80 Commits

Author SHA1 Message Date
Lonely
1b23bf495a
container/gmap&gset: fix deadlock when removing values during iterating (#3572) 2024-05-21 22:07:28 +08:00
John Guo
b9e2b05f04
change interface ConvertDataForRecord to ConvertValueForField for package gdb (#2916) 2023-09-04 21:23:54 +08:00
Lonely
4ad508c04d
feat: add Diff feature to gmap (#2774) 2023-07-20 20:07:43 +08:00
John Guo
1cd1449085
add package contrib/rpc/grpcx (#2169) 2023-03-08 14:12:51 +08:00
houseme
1793bf0863
add golangci feature to guarantee codes quality (#2229) 2022-11-01 20:12:21 +08:00
John Guo
141ca62c6d
feature/v2.2.0 (#2154) 2022-09-26 22:11:13 +08:00
John Guo
1acc1b8230
improve DeepCopy feature for bunch of components, especially the container and gtime (#1956) 2022-06-29 14:58:27 +08:00
黄骞
3ae23df4b3
Improve the code coverage of the gmap module (#1910) 2022-06-20 19:05:47 +08:00
John Guo
0d7e28ee75 add deep copy feature 2022-05-23 16:51:10 +08:00
John Guo
f2e1f63396 fix issue #1679 2022-03-21 22:04:15 +08:00
John Guo
546b6b1724 t.Assert(err, nil) -> t.AssertNil(err) 2022-03-10 11:36:40 +08:00
John Guo
c2fb7ada0a improve example for package gmap 2022-03-08 20:25:34 +08:00
John Guo
d0a8e60ace improve example for package gmap 2022-03-08 20:14:38 +08:00
John Guo
10ed04cdb8 example updates for package gmap 2022-03-08 09:49:33 +08:00
John Guo
e09704a408 example updates for package gmap 2022-03-07 22:10:34 +08:00
John Guo
8a27463e44 ensure sequence for json.Marshal for gmap.ListMap/TreeMap 2022-03-07 17:39:41 +08:00
John Guo
3bbbe1db9c change pointer receiver that implements interface MarshalJSON to struct receiver for all packages 2022-01-19 16:55:57 +08:00
huangqian
7e3d7b3575 modify UnmarshalValue Sample 2021-11-22 23:11:40 +08:00
huangqian
a3dfebffb4 output modify 2021-11-22 00:26:34 +08:00
huangqian
b58c5311d0 Implemented TreeMap Example 2021-11-21 12:44:59 +08:00
huangqian
8ea4b71e7a Implemented ListMap Example 2021-11-20 21:46:20 +08:00
huangqian
3e5b3a6dad Implemented StrStrMap Example 2021-11-20 12:37:09 +08:00
huangqian
61bc38fff6 Implemented StrStrMap Example 2021-11-20 12:27:01 +08:00
huangqian
7d75f6e7c5 Implemented StrStrMap Example 2021-11-20 12:13:05 +08:00
huangqian
a99cc34243 Implemented StrStrMap Example 2021-11-20 12:12:32 +08:00
huangqian
1db2c31ecc Implemented StrIntMap Example 2021-11-20 08:47:44 +08:00
huangqian
49edad0216 Implemented StrAnyMap Example 2021-11-20 08:13:10 +08:00
huangqian
51fd87bc01 Implemented StrAnyMap Example 2021-11-20 07:49:56 +08:00
huangqian
9aeac45198 Implemented IntIntMap Example 2021-11-19 21:46:11 +08:00
huangqian
076b15d71f Implemented IntAnyMap Example 2021-11-19 07:27:19 +08:00
huangqian
7d6c9244cf Implemented AnyAnyMap Example Function:
1.Replace 2.LockFunc 3.RLockFunc 4.Flip 5.Merge 6.String 7.MarshalJSON 8.UnmarshalJSON 9.UnmarshalValue
2021-11-18 21:37:27 +08:00
huangqian
3f4dff462d Merge branch 'master' of https://github.com/gogf/gf 2021-11-18 07:33:29 +08:00
huangqian
36927b4371 Implemented AnyAnyMap Example Function:
1.Remove 2.Removes 3.Keys 4.Values 5.Contains 6.Size 7.IsEmpty 8.Clear
2021-11-18 07:32:29 +08:00
John Guo
57ccc13e0c unit testing files renaming 2021-11-17 23:20:58 +08:00
huangqian
ef29ee4804 Implemented AnyAnyMap Example Function:
1.Iterator 2.Clone 3.Map 4.MapCopy 5.MapStrAny 6.FilterEmpty 7.FilterNil 8.Set 9.Sets 10.Search 11.Get 12.Pop 13.Pops 14.GetOrSet 15.GetOrSetFunc 16.GetOrSetFuncLock 17.GetVar 18.GetVarOrSet 19.GetVarOrSetFunc 20.GetVarOrSetFuncLock
2021-11-17 23:18:35 +08:00
huangqian
416a5173ae 1# Complete the AnyAnyMap Example Function (Not Implemented)
2# Implemented AnyAnyMap Example Function:
1.NewAnyAnyMap 2.NewAnyAnyMapFrom
2021-11-16 07:30:14 +08:00
huangqian
cc9b3a08d0 splite gmap example file. 2021-11-16 07:20:18 +08:00
huangqian
4e1bbd76f9 Merge branch 'master' of https://github.com/gogf/gf 2021-11-15 23:34:43 +08:00
huangqian
570814cf6e gmap example function
1.NewFrom 2.NewHashMap 3.NewHashMapFrom
2021-11-15 23:34:25 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
John Guo
fa5499373a replace char <xxx> to ;add GetWithEnv/GetWithCmd fuctions for package gcfg 2021-10-21 18:22:47 +08:00
John Guo
1bc0635f8b version 2 2021-10-11 21:41:56 +08:00
John Guo
55a9c0738b improve package gcache, add GetVar*/RemoveVar/UpdateVar functions for package gcache 2021-09-16 20:57:59 +08:00
John Guo
727f58a24b remove usage of gconv.Unsafe* functions internally to avoid unexpected errors 2021-09-14 19:30:20 +08:00
John Guo
7003c284d0 replace json.Unmarshal with json.UnmarshalUseNumber for packages 2021-05-15 22:38:07 +08:00
John Guo
093034acd1 copyright comment update 2021-01-17 21:46:25 +08:00
John
80b629916a fix issue in function Clone for package gmap/garray/gtree 2020-12-02 21:38:29 +08:00
John
631810dda2 add function String for package gmap 2020-09-02 19:53:58 +08:00
John
46bdde9265 revert gvar.Var from interface to struct 2020-06-29 13:40:19 +08:00
John
b2aa59d893 import third-party library json-iterator to improve the performance for json operations 2020-06-17 21:16:25 +08:00