You've already forked json-iterator
							
							
				mirror of
				https://github.com/json-iterator/go.git
				synced 2025-10-31 00:07:40 +02:00 
			
		
		
		
	gofmt
This commit is contained in:
		| @@ -5,8 +5,8 @@ import ( | ||||
| 	"encoding/json" | ||||
| 	"fmt" | ||||
| 	"reflect" | ||||
| 	"unsafe" | ||||
| 	"time" | ||||
| 	"unsafe" | ||||
| ) | ||||
|  | ||||
| // Decoder is an internal type registered to cache as needed. | ||||
| @@ -170,7 +170,7 @@ func (encoder *optionalEncoder) isEmpty(ptr unsafe.Pointer) bool { | ||||
| } | ||||
|  | ||||
| type placeholderEncoder struct { | ||||
| 	cfg *frozenConfig | ||||
| 	cfg      *frozenConfig | ||||
| 	cacheKey reflect.Type | ||||
| } | ||||
|  | ||||
| @@ -200,7 +200,7 @@ func (encoder *placeholderEncoder) getRealEncoder() Encoder { | ||||
| } | ||||
|  | ||||
| type placeholderDecoder struct { | ||||
| 	cfg *frozenConfig | ||||
| 	cfg      *frozenConfig | ||||
| 	cacheKey reflect.Type | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -231,4 +231,4 @@ func Test_marshaler_on_struct(t *testing.T) { | ||||
| 	fixed := tmStruct{"hello"} | ||||
| 	//json.Marshal(fixed) | ||||
| 	Marshal(fixed) | ||||
| } | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user