Commit Graph

550 Commits

Author SHA1 Message Date
John Guo
383937fe69
add example for ctx keys feature of package glog (#3273) 2024-01-22 21:07:40 +08:00
John Guo
951f8921cd
fix #3237 (#3267) 2024-01-17 15:35:48 +08:00
oldme
42e3c5f39a
fix #3253 (#3255) 2024-01-11 22:14:22 +08:00
oldme
9f7ce42c74
enhance #3221 (#3224) 2023-12-28 20:07:07 +08:00
John Guo
645c5ff5b5
fix issue #3218 #3204 (#3220) 2023-12-19 21:58:12 +08:00
John Guo
ee2cf92479
Version/v2.6.0 beta (#3183) 2023-12-04 19:34:48 +08:00
海亮
993467bb3c
test: add date-format test for RFC3339 (#3181) 2023-11-29 19:12:21 +08:00
John Guo
9aa872e705
improve map converting feature using MapOption for package gconv (#3170) 2023-11-23 18:59:04 +08:00
John Guo
ea5d52cb2f
fix issue #3147 (#3161) 2023-11-22 21:05:39 +08:00
Hunk Zhu
0b407c5e6d
fix "gf gen pb" api and ctrl not working well. (#3076) 2023-11-08 21:26:51 +08:00
John Guo
a17849bc39
improve struct converting in parameter name case sensitive scenario for package gconv (#3122) 2023-11-08 21:17:55 +08:00
Hunk Zhu
0b71bc43a8
fix issue #3099 (#3107) 2023-10-31 20:02:20 +08:00
John Guo
972f8c3aff
improve comments for package gconv (#3057) 2023-10-17 21:09:46 +08:00
kele1997
65192a7f92
fix issue gconv struct slice/map of json.RawMessage (#3006) (#3008) 2023-10-11 21:35:27 +08:00
oldme
10b67fc7b0
fix issues #2980 (#2994) 2023-10-11 21:28:53 +08:00
John Guo
8d925d4741
fix issue #2890 (#3002) 2023-10-09 20:00:08 +08:00
海亮
42de1c1dbe
improve example cases for package gi18n (#2970) 2023-09-19 20:18:43 +08:00
laushunyu
395df940d7
fix(gutil): panic when field is []byte(BINARY in mysql) (#2957) 2023-09-18 20:16:59 +08:00
光芒伞
e684eae878
Make GTime support multiple formats (#2933) 2023-09-13 19:29:25 +08:00
John Guo
5219c5c37e
add ut cases for command gen dao (#2958) 2023-09-12 22:00:35 +08:00
John Guo
a5a7d23792
improve g.Go (#2956) 2023-09-12 20:00:01 +08:00
John Guo
ab1970e7d6
add new function g.Go (#2943) 2023-09-11 10:18:44 +08:00
the harder the luckier
d49dccb147
test: add unit tests regarding issue 2901 (#2930) 2023-09-05 19:30:54 +08:00
the harder the luckier
eb11061bd2
fix: gjson encode to string expect inconformity(issue 2520) (#2928) 2023-09-04 21:19:22 +08:00
the harder the luckier
097b26f318
fix: multiple interfaces cause the original type to be inaccessible (#2915) 2023-09-04 20:11:14 +08:00
John Guo
bcd409ab1c
fix typo "Upadte" -> "Update" (#2906) 2023-08-28 21:48:56 +08:00
Hunk
24ee5341ec
Fix empty map or struct convert to another map will return error. (#2863) 2023-08-17 20:59:16 +08:00
John Guo
ed4d1554ab
improve converter feature for package gconv (#2869) 2023-08-17 20:33:12 +08:00
Lonely
ea6a773d60
fix: marked gcode.CodeInternalPanic for panic (#2860) 2023-08-14 09:53:13 +08:00
John Guo
4020eb9b4c
fix issue in SliceMap/Maps for package gconv when nil value in map of slice item (#2857) 2023-08-10 21:59:21 +08:00
Hunk
932f8c48ef
Add gconv custom converter feature. (#2828) 2023-08-07 21:15:22 +08:00
John Guo
cb44c40a9c
fix issue #2482 (#2789) 2023-07-25 20:28:50 +08:00
John Guo
16a5318d32
upgrade package gopkg.in/yaml.v3 to latest stable version v3.0.1 (#2783) 2023-07-20 09:57:04 +08:00
John Guo
41c0dde9bf
add complicated map with custom type converting support for package gconv (#2769) 2023-07-17 10:06:06 +08:00
John Guo
5e231f3d61
add example for package gvalid (#2767) 2023-07-14 14:25:25 +08:00
John Guo
6d7edb1479
fix issue #2760 (#2763) 2023-07-13 21:15:07 +08:00
John Guo
ce72f9a84b
fix typo (#2753) 2023-07-11 19:52:49 +08:00
John Guo
2ece368810
add new validation rule "enums" (#2690) 2023-06-07 09:48:29 +08:00
guangwu
e816ab05de
refactor: code optimization (#2667) 2023-05-25 21:58:11 +08:00
John Guo
a6fff37be8
add DumpJson for package gutil (#2651) 2023-05-24 10:04:19 +08:00
John Guo
04c70f2037
fix empty string converted to none empty string type slice (#2612) 2023-04-28 14:55:37 +08:00
cui fliter
a9090e4a72
fix some comments (#2600)
Signed-off-by: cui fliter <imcusg@gmail.com>
2023-04-26 19:34:22 +08:00
John Guo
a031e112e5
add command gen enums (#2591) 2023-04-20 16:30:42 +08:00
John Guo
3991eb053c
fix issue #2584 (#2586) 2023-04-17 17:44:24 +08:00
John Guo
6fb26c44d7
fix issue converting values to custom type pointers (#2585) 2023-04-17 16:34:36 +08:00
John Guo
d788b7ff5e
fix issue #2529 #2487 (#2548) 2023-04-12 10:14:14 +08:00
HaiLaz
5083174a92
fix goreport for gofmt (#2523) 2023-03-17 17:54:14 +08:00
John Guo
ae86f66545
fix issue #2499 #2515 (#2517) 2023-03-13 22:16:57 +08:00
HaiLaz
45e4c9e16c
add tag value of in support for api definition that has meta info (#2450) 2023-03-13 19:29:30 +08:00
John Guo
13f6fb1929
fix issue struct attribute converting when has no json name but with omitempty tag (#2486) 2023-03-07 21:26:32 +08:00