Commit Graph

12 Commits (0449450c64ba295291ff71bf8d4690f9da3e2d66)

Author SHA1 Message Date
Kevin Wan c3f57e9b0a
chore: fix potential nil pointer errors (#3454) 1 year ago
Kevin Wan 6b4d0d89c0
chore: add more tests (#3324) 1 year ago
kevin a972f400c6 fix: test failure 2 years ago
Kevin Wan ae87114282
chore: change interface{} to any (#2818)
* chore: change interface{} to any

* chore: update goctl version to 1.5.0

* chore: update goctl deps
2 years ago
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
2 years ago
Kevin Wan 69068cdaf0
feat: support env tag in config (#2577)
* feat: support env tag in config

* chore: add more tests

* chore: add more tests, add stringx.Join

* fix: test fail

* chore: remove print code

* chore: rename variable
2 years ago
Kevin Wan 18035bd4d4
chore: refactor (#2085) 2 years ago
家福 f3b8fef34f
fix: type matching supports string to int (#2038)
* fix: type matching supports string to int

* feat: type matching supports string to int

Co-authored-by: 程家福 <chengjiafu@uniontech.com>
2 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
Kevin Wan 265b1f2459
test: add more tests (#1138) 3 years ago
Bo-Yi Wu afd9ff889e
chore: update code format. (#628) 4 years ago
kevin 7e3a369a8f initial import 4 years ago