Commit Graph

300 Commits

Author SHA1 Message Date
John Guo
ce93b625d4 change errors wrapped by gerror.Wrap with error stack info for all packages 2021-12-21 22:59:14 +08:00
huangqian
57a939e10b Implemented gpool All Example 2021-12-09 21:28:03 +08:00
huangqian
8944635bf9 modify "May Output" to "Output"
modify fuinction name
2021-11-27 20:07:39 +08:00
huangqian
c4b45d2400 modify "May Output" to "Output" 2021-11-27 19:33:00 +08:00
huangqian
085ac39231 Implemented RedBlackTree All Example 2021-11-27 19:11:14 +08:00
huangqian
f5bd5a8748 Implemented AVLTree All Example 2021-11-27 18:09:16 +08:00
huangqian
478f901595 Fix AVLTree MarshalJSON() Bug 2021-11-27 18:08:48 +08:00
huangqian
b0eb76359e Implemented AVLTree Example
1.ExampleNewAVLTree 2.ExampleNewAVLTreeFrom
Implemented RedBlackTree Example
1.ExampleNewRedBlackTree 2.ExampleNewRedBlackTreeFrom
2021-11-27 00:04:43 +08:00
huangqian
16a05f1450 Fix IteratorAscFrom() And IteratorDescFrom() Panic Bug 2021-11-27 00:02:19 +08:00
huangqian
b63786cd75 Merge branch 'master' of https://github.com/gogf/gf into gtree_Example 2021-11-26 23:21:19 +08:00
John Guo
e5c3444ea6 Merge branch 'master' of https://github.com/gogf/gf 2021-11-26 23:03:10 +08:00
huangqian
0ded168715 Merge branch 'master' of https://github.com/gogf/gf into gtree_Example 2021-11-26 22:57:12 +08:00
John Guo
a7b78b00b1 comment update for package gtree 2021-11-26 22:49:06 +08:00
huangqian
a0c139f6a7 rename words and format output 2021-11-26 21:05:01 +08:00
xiangao
2cae1412f9 add line 2021-11-26 10:25:25 +08:00
huangqian
f78d65833b Fix Left() And Right() Panic Bug 2021-11-25 23:56:51 +08:00
huangqian
2c542cfd46 Implemented BTree Example
1.Keys 2.Values 3.Map 4.MapStrAny 5.Clear 6.Replace 7.Height 8.Left 9.Right 10.String 11.Search 12.Print 13.Iterator 14.IteratorFrom 15.IteratorAsc 16.IteratorAscFrom 17.IteratorDesc 18.IteratorDescFrom 19.MarshalJson
2021-11-25 23:55:36 +08:00
xiangao
fe1ca3cc22 format 2021-11-25 16:13:12 +08:00
xiangao
23f13c0f6a 新增gvar使用示例 2021-11-25 15:50:58 +08:00
huangqian
65b6fbba84 Implemented BTree Example
1.GetVar 2.GetVarOrSet 3.GetVarOrSetFunc 4.GetVarOrSetFuncLock 5.SetIfNotExist 6.SetIfNotExistFunc 7.SetIfNotExistFuncLock 8.Contains 9.Remove 10.Removes 11.IsEmpty 12.Size
2021-11-25 07:25:29 +08:00
huangqian
2866ee75a1 Implemented BTree Example
1.Clone 2.Set 3.Sets 4.Get 5.GetOrSet 6.GetOrSetFunc 7.GetOrSetFuncLock
2021-11-24 23:23:14 +08:00
huangqian
09be476fd9 Implemented BTree Example
1.NewBTree 2.NewBTreeFrom
2021-11-23 23:21:29 +08:00
huangqian
c12404b378 add gtree example new file 2021-11-23 20:53:17 +08:00
huangqian
8a22b129dd add gtree example new file 2021-11-23 20:52: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
92b9af5d9e Merge branch 'master' of https://github.com/gogf/gf 2021-11-17 19:32:06 +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
houseme
ff8633231f improve code 'if block ends with a return statement, so drop this else and outdent its block (golint)' 2021-11-16 00:26:10 +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
John Guo
485785e023 improve example for package gqueue 2021-11-15 19:20:46 +08:00
John Guo
5389a93ec8 Merge branch 'master' of https://github.com/gogf/gf 2021-11-15 19:16:40 +08:00
huangqian
6cd8d008eb Modifying LockIteratorPrev to RLockIteratorPrev and its implementation 2021-11-14 21:35:00 +08:00
huangqian
f4f1145424 gring example function
1.Set 2.Put 3.Move 4.Prev 5.Next 6.Link 7.Unlink 8.RLockIteratorNext 9.RLockIteratorPrev 10.SliceNext 11.SlicePrev
2021-11-14 21:33:23 +08:00
huangqian
d7c121430e Merge branch 'master' of https://github.com/gogf/gf 2021-11-14 21:17:30 +08:00
houseme
e4ddeb6033 Improved import, by group improt. 2021-11-14 18:24:38 +08:00
John Guo
ce16dad88f improve error handling for custom validation rule for package gvalid 2021-11-14 17:47:21 +08:00
houseme
be03b3cdda Improved import, by group improt. 2021-11-13 23:23:55 +08:00
huangqian
2c716a88c4 gring example function
1.New 2.Cap 3.Len
2021-11-12 22:52:41 +08:00
John Guo
31d793fafb improve example for package gqueue 2021-11-10 00:20:00 +08:00
mingzaily
df02ca764f add size example for gqueue 2021-11-07 16:52:28 +08:00
mingzaily
38b797b42f finish example for gqueue 2021-11-06 16:27:17 +08:00
mingzaily
e8f6ebc154
Merge branch 'gogf:master' into master 2021-11-06 16:12:38 +08:00
John Guo
aceb586bef
Merge pull request #1461 from Evil-king/master
add examples for InitSet of package gset
2021-11-06 11:34:17 +08:00
timmy.hu
15f9b69b36 fix 2021-11-06 06:38:28 +08:00
John Guo
66731c9c66
Merge pull request #1459 from visualsun/master
Create garray_z_example_sorted_str_test.go
2021-11-05 23:27:56 +08:00
visualsun
e7b63839c8
Update garray_z_example_sorted_str_test.go 2021-11-05 19:31:11 +08:00
visualsun
2511c378f2
Create garray_z_example_int_test.go 2021-11-05 17:02:28 +08:00
visualsun
12514a0311
Update garray_z_example_sorted_str_test.go 2021-11-05 14:45:04 +08:00
timmy.hu
ea7d963f20 IntSet 2021-11-05 00:56:59 +08:00
timmy.hu
613958a4b6 IntSet finish 2021-11-05 00:50:44 +08:00
John Guo
44023ea91d
Merge pull request #1453 from Evil-king/master
gstrset Example Finish
2021-11-05 00:21:15 +08:00
timmy.hu
ef7f7e35f8 update review 2021-11-05 00:04:24 +08:00
timmy.hu
3091f61a26 update ExampleStrSet_Remove 2021-11-04 22:26:17 +08:00
visualsun
5776b2596d
Create garray_z_example_sorted_str_test.go 2021-11-04 22:17:32 +08:00
timmy.hu
430102c995 update 2021-11-04 22:11:09 +08:00
visualsun
6050b14087
Update garray_z_example_str_test.go 2021-11-04 20:11:54 +08:00
timmy.hu
9ea2db5c81 fix 2021-11-03 23:17:04 +08:00
timmy.hu
c850c420fd fixCi 2021-11-03 23:06:24 +08:00
timmy.hu
f2bb9d65c3 edit review 2021-11-03 22:49:30 +08:00
visualsun
b83362cc2e
Update garray_z_example_str_test.go 2021-11-03 22:34:43 +08:00
visualsun
5fa62e02c6
Update garray_z_example_str_test.go 2021-11-03 18:08:44 +08:00
visualsun
bf3c3367a6
Update garray_z_example_str_test.go 2021-11-03 17:14:49 +08:00
mingzaily
9c05682605 change some example for gqueue 2021-11-03 16:16:03 +08:00
mingzaily
bc1d76a796 add example for gqueue 2021-11-03 11:41:34 +08:00
timmy.hu
5e34aee2d7 example over 2021-11-03 00:49:06 +08:00
mingzaily
3df7711e74 complete example for glist 2021-11-02 14:31:34 +08:00
timmy.hu
c1f856fa8e update 2021-11-02 13:27:54 +08:00
John Guo
17e6063c5c add neccessary parameter context for package gcron/gtimer 2021-10-30 15:36:10 +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
71189c8fb0 improve converting performance for equal type converting 2021-10-03 00:58:57 +08:00
John Guo
993bf897cf remove deprecated functions; refract package gjson 2021-09-27 22:47:39 +08:00
John
fe2eccfda4 remove usage of package unsafe for package gtype/grand 2021-09-20 12:58:10 +08:00
jianchenma
01a3dd1eb0 add function gerror.HasStack; rename all api* interfaces to i* 2021-09-17 19:26: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
ac78b2fa50 fix ci issue 2021-09-15 21:46:58 +08:00
John Guo
cc08ceb797 improve package gring; remove function LockIteratorNext/LockIteratorPrev from package gring 2021-09-14 20:15:21 +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
abc8e62d58 add package gcode and improve error implements for package gerror 2021-08-24 21:18:59 +08:00
John Guo
ad6c4f5245 improve session storage for package gsession 2021-08-16 21:47:45 +08:00
John Guo
0e158903c2 improve package gtimer for priority checks 2021-08-06 12:08:49 +08:00