AlexStocks commented on code in PR #874: URL: https://github.com/apache/incubator-seata-go/pull/874#discussion_r2280151245
########## pkg/datasource/sql/datasource/utils.go: ########## @@ -90,7 +90,10 @@ func GetScanSlice(types []*sql.ColumnType) []interface{} { scanSlice = append(scanSlice, &scanVal) case ScanTypeUnknown: scanVal := new(interface{}) - scanSlice = append(scanSlice, &scanVal) + scanSlice = append(scanSlice, scanVal) + default: + scanVal := new(interface{}) Review Comment: 把上下文的 interface{} 换成 any 吧 -- 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: notifications-unsubscr...@seata.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@seata.apache.org For additional commands, e-mail: notifications-h...@seata.apache.org