imzhongqi

Results 9 comments of imzhongqi

You can use reflection to achieve something like

@Syuparn Do you have a good implementation, I can't think of how to do it in go yet.

The implementation might look like this ```go package main import ( "fmt" ) type A struct { v string } func (a A) String() string { return "A" + a.v...

good,but i feel it's not necessary.

When I delete the content of a configuration key. ``` log: level: debug ``` delete level key, but forget delete log key, will panic. ``` log: ```

When I delete the service.name at runtime, it will panic because Kratos will use a nil value to replace the old value, but atomic.Value does not accept a nil value.