fatelei commented on issue #1915:
URL:
https://github.com/apache/incubator-devlake/issues/1915#issuecomment-1132604326
i check the `DecodeStruct` and `EncodeStruct` method
- `DecodeStruct` map struct to viper config
- `EncodeStruct` map viper config to struct
viper config support data type is:
- bool
- int
- string
- int slice
- string slice
- map[string]interface{}
- map[string]string
- float64
- interface
so the two method should support
- int slice
- string slice
- map[string]interface{}
- map[string]string
- bool
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]