iyaozhen

Results 10 comments of iyaozhen

Because client request is another user, I cant not control It,But as a server we will compatible it.

支持双语。学习英语的好机会呀。

相同的问题,json-iterator 怎么能new一个局部实例然后再RegisterTypeDecoderFunc使用呢,这样就不影响他人了

@hiscaler @mjscjj 我解决了,使用 RegisterExtension 还有一个点就是需要重新定义一个config,这样只这个config生效 ```Go type customNumberExtension struct { jsoniter.DummyExtension } func (cne *customNumberExtension) CreateDecoder(typ reflect2.Type) jsoniter.ValDecoder { if typ.String() == "interface {}" { return &numberValDecoder{} } return nil...

> I suppose `do.InvokeNamed()` should be able to skip the type check when the type is `any` ? I think this is a good solution.

Thx, I try to `do.Package`. I used v2 in production for some time, it is very good.

Hello samber, `do.Package` doesn't seem to solve my problem. Maybe I didn't describe it in detail enough. I create a demo: https://github.com/iyaozhen/samber-do-learn/blob/main/service/car/car_test.go import cycle: ``` package github.com/iyaozhen/samber-do-learn/service/car imports github.com/iyaozhen/samber-do-learn/service imports...

Thank you for your patient answer. There's no particular solution for me. ### move your tests to a dedicated package not golang customary norm ### 2 sub-packages car.Package ```Golang do.Package(...

挺好用了,0.x 版本就在线上使用了。 你应该提具体的问题,而不是一味的抱怨。