go-zero/core/mapping
Kevin Wan 367afb544c
feat: support ptr of ptr of ... in mapping (#2779)
* feat: support ptr of ptr of ... in mapping

* feat: support ptr of ptr of time.Duration in mapping

* feat: support ptr of ptr of json.Number in mapping

* chore: improve setting in mapping

* feat: support ptr of ptr encoding.TextUnmarshaler in mapping

* chore: add more tests

* fix: string ptr

* chore: update tests
2023-01-12 15:56:51 +08:00
..
fieldoptions_test.go add unit test, fix interceptor bug 2020-09-29 14:30:22 +08:00
fieldoptions.go feat: support env tag in config (#2577) 2022-11-11 23:17:09 +08:00
jsonunmarshaler_test.go fix: #2735 (#2736) 2023-01-01 12:21:53 +08:00
jsonunmarshaler.go fix: #2735 (#2736) 2023-01-01 12:21:53 +08:00
marshaler_test.go fix: range validation on mapping (#2317) 2022-08-28 17:49:26 +08:00
marshaler.go fix marshal ptr in httpc (#1789) 2022-04-15 19:07:34 +08:00
tomlunmarshaler_test.go feat: accept camelcase for config keys (#2651) 2022-12-08 22:01:36 +08:00
tomlunmarshaler.go feat: accept camelcase for config keys (#2651) 2022-12-08 22:01:36 +08:00
unmarshaler_test.go feat: support ptr of ptr of ... in mapping (#2779) 2023-01-12 15:56:51 +08:00
unmarshaler.go feat: support ptr of ptr of ... in mapping (#2779) 2023-01-12 15:56:51 +08:00
utils_test.go feat: support ptr of ptr of ... in mapping (#2779) 2023-01-12 15:56:51 +08:00
utils.go feat: support ptr of ptr of ... in mapping (#2779) 2023-01-12 15:56:51 +08:00
valuer_test.go fix: camel cased key of map item in config (#2715) 2022-12-24 21:26:33 +08:00
valuer.go fix: inherit issue when parent after inherits (#2586) 2022-11-10 22:13:05 +08:00
yamlunmarshaler_test.go feat: accept camelcase for config keys (#2651) 2022-12-08 22:01:36 +08:00
yamlunmarshaler.go feat: accept camelcase for config keys (#2651) 2022-12-08 22:01:36 +08:00