Run gofmt and add badge to readme
This commit is contained in:
		@@ -71,8 +71,8 @@ func Convert(in reflect.Value, toType reflect.Type) (reflect.Value, error) {
 | 
			
		||||
	// If input is a slice of any, and output is an array or slice
 | 
			
		||||
	if in.Type() == reflect.TypeOf([]any{}) &&
 | 
			
		||||
		to.Kind() == reflect.Slice || to.Kind() == reflect.Array {
 | 
			
		||||
			// Use ConvertSlice to convert value
 | 
			
		||||
			to.Set(reflect.ValueOf(ConvertSlice(
 | 
			
		||||
		// Use ConvertSlice to convert value
 | 
			
		||||
		to.Set(reflect.ValueOf(ConvertSlice(
 | 
			
		||||
			in.Interface().([]any),
 | 
			
		||||
			toType,
 | 
			
		||||
		)))
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user