dudaodong
13a4ed59fa
doc: update comment for concurrency package
2023-03-16 15:35:26 +08:00
dudaodong
c799d10ce9
feat: add promise All, Race, Any methods
2023-03-16 15:34:28 +08:00
dudaodong
5ab322ade2
feat: add async package, promise implemention
2023-03-16 14:49:07 +08:00
dudaodong
d0ffc61842
doc: fix doc error
2023-03-16 10:36:06 +08:00
zm
5e66bc6227
[structs] change package structutil to structs ( #81 )
...
* refactor package structutil to structs
* add structs package zh-CN docs
2023-03-15 19:14:19 +08:00
dudaodong
7261b281ad
refactor: add function comment for tag.go
2023-03-15 17:43:47 +08:00
dudaodong
f79693804b
refactor: make package variable defaultTagName unexported
2023-03-15 15:08:56 +08:00
dudaodong
534c7a0abc
refactor: make errInvalidStruct exported, change error.go to struct_internal.go
2023-03-15 14:58:34 +08:00
dudaodong
4eaff47d38
Merge branch 'main' into v2
2023-03-15 14:43:48 +08:00
dudaodong
3e019522c7
doc: add doc for ForEachWithBreak
2023-03-15 14:42:22 +08:00
dudaodong
0734f220b3
feat: add ForEachWithBreak support break for each loop
2023-03-15 14:38:33 +08:00
zm
2d2c277090
[StructUtil] add support that the Struct can nest any type to transform ( #80 )
...
* add support json tag attribute for StructToMap function
* add the structutil to provide more rich functions and fixed #77
* add support that the nested struct to map for structutil
* recover code
* add structutil unit test
* [StructUtil] add unit test
2023-03-15 14:26:34 +08:00
dudaodong
ef1e548dfc
merge main
2023-03-13 19:44:44 +08:00
zm
924589d2da
Add StructUtil for provide more rich functions ( #79 )
...
* add support json tag attribute for StructToMap function
* add the structutil to provide more rich functions and fixed #77
2023-03-13 19:28:37 +08:00
dudaodong
77f32f4cc6
Merge branch 'main' into v2
2023-03-11 20:14:32 +08:00
zm
1755dd249b
add support json tag attribute for StructToMap function ( #78 )
2023-03-11 20:08:41 +08:00
dudaodong
7a25688ec1
doc: add doc for Range and RangeWithStep
2023-03-09 17:13:51 +08:00
dudaodong
51a6912eb3
feat: add RangeWithStep function
2023-03-06 18:05:58 +08:00
dudaodong
28d0428b50
feat: add Range function
2023-03-06 17:49:56 +08:00
dudaodong
6a9eb645bb
fix: fix StructToUrlValues failed when tag contain omitempty
2023-03-06 17:07:57 +08:00
dudaodong
3857b342f6
fix: fix ExampleContext failed
2023-03-01 11:45:02 +08:00
dudaodong
71aa91a58d
doc: add go playground demo
2023-03-01 11:39:27 +08:00
dudaodong
081908bce3
fix: fix goline error
2023-03-01 11:10:12 +08:00
dudaodong
66efe61834
release v2.1.16
v2.1.16
2023-03-01 10:08:53 +08:00
dudaodong
94f7f3e0e5
doc: add new function docs
2023-02-28 15:03:02 +08:00
dudaodong
9d2c9806d1
feat: add ContainBy function
2023-02-24 14:19:10 +08:00
dudaodong
e523d4af6e
doc: add doc for FilterMap and FlatMap
2023-02-24 11:23:02 +08:00
dudaodong
f3801bcd8f
feat: add FlatMap
2023-02-24 11:14:59 +08:00
dudaodong
5767aad303
feat: add FilterMap
2023-02-24 10:55:27 +08:00
dudaodong
f7aaa1ed2a
fix: fix issue #75
2023-02-23 11:43:41 +08:00
dudaodong
ef19a414bc
doc: fix doc error
2023-02-23 10:58:43 +08:00
dudaodong
65704dea06
doc: fix doc error
2023-02-23 10:57:48 +08:00
dudaodong
5eac358bb0
doc: format code in doc file
2023-02-22 17:00:46 +08:00
dudaodong
8e36ef5cef
doc: add doc for new map functions
2023-02-22 16:59:01 +08:00
dudaodong
21b0d2ec0e
doc: add doc for WordCount and SplitWords function
2023-02-22 16:13:41 +08:00
dudaodong
32ca975204
feat: add OmitBy, OmitByKeys, OmitByValues
2023-02-21 14:52:10 +08:00
dudaodong
ec740e442c
feat: add WordCount
2023-02-21 14:27:00 +08:00
dudaodong
ed98ad53ec
feat: add SplitWords
2023-02-21 14:16:36 +08:00
dudaodong
af7b9d2710
doc: add doc for CopyProperties function
2023-02-20 14:10:55 +08:00
dudaodong
f08b368001
fix: update param type of CopyProperties
2023-02-20 14:04:45 +08:00
dudaodong
be8a0558f8
test: add examples for CopyProperties function
2023-02-20 12:00:49 +08:00
dudaodong
46de539e22
feat: add CopyProperties for merge properties between structs
2023-02-20 11:48:30 +08:00
dudaodong
36fb3abe9e
test: add examples for maputil package function
2023-02-19 16:59:21 +08:00
dudaodong
fee8d325b7
doc: add doc for Pad function
2023-02-19 12:58:14 +08:00
dudaodong
8784be1583
feat: add Pad function
2023-02-19 12:37:26 +08:00
dudaodong
84cd68de7f
fix: fix bugs of PadEnd and PadStart
2023-02-19 12:34:39 +08:00
dudaodong
a774c060ce
feat: add MapKeys and MapValues
2023-02-17 15:41:58 +08:00
dudaodong
730f061b95
feat: add Entries FromEntries Transform
2023-02-17 15:24:46 +08:00
dudaodong
2eb08f3404
feat: add FilterByValues function
2023-02-17 11:59:44 +08:00
dudaodong
4c1496b648
feat: add FilterByKeys function
2023-02-17 11:57:09 +08:00