Commit Graph

17 Commits (4d349983380993af334a55892c1dc8e52abc6d94)

Author SHA1 Message Date
Kevin Wan 1d95e95cf8
chore: make methods consistent in signatures (#1971)
* chore: make methods consistent in signatures

* test: fix fails
3 years ago
taobig 3fa8c5940d
fix: The validation of tag "options" is not working with int/uint type (#1969) 3 years ago
Kevin Wan b94b68a427
chore: refactoring mapping string to slice (#1959) 3 years ago
家福 07145b210e
fix: panic on convert to string on fillSliceFromString() (#1951)
* Update unmarshaler.go

 fix: 修复fillSliceFromString()方法中mapValue 强转string后的panic 错误

* test: 增加单元测试

增加单元测试

* Update unmarshaler_test.go
3 years ago
Kevin Wan cb4fcf2c6c
fix marshal ptr in httpc (#1789)
* fix marshal ptr in httpc

* add more tests

* add more tests

* add more tests

* fix issue on options and optional both provided
3 years ago
Kevin Wan ecc3653d44
fix #1729 (#1783) 3 years ago
Kevin Wan e9620c8c05
chore: refactor code (#1708) 3 years ago
aimuz 70e51bb352
fix: empty slice are set to nil (#1702)
support for empty slce, Same behavior as json.Unmarshal
3 years ago
Kevin Wan a91c3907a8
feat: rename module from tal-tech to zeromicro (#1413) 3 years ago
Kevin Wan 23deaf50e6
feat: support array in default and options tags (#1386)
* feat: support array in default and options tags

* feat: ignore spaces in tags

* test: add more tests
3 years ago
skykiss 01c92a6bc5
fix: Fix problems with non support for multidimensional arrays and basic type pointer arrays (#778)
Co-authored-by: shaoqian <shaoqian.zhang@appshahe.com>
3 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
Kevin Wan 334ee4213f
fix golint issues in core/mapping (#497) 4 years ago
kevin 33a9db85c8 add unit test, fix interceptor bug 4 years ago
kevin e5d7c3ab04 unmarshal should be struct 4 years ago
kevin 0a7e0cce77 update package reference 4 years ago
kevin 7e3a369a8f initial import 4 years ago