fix comment in mode.go (#2129)
				
					
				
			EnableJsonDisallowUnknownFields => EnableJsonDecoderDisallowUnknownFields
This commit is contained in:
		
							
								
								
									
										2
									
								
								mode.go
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								mode.go
									
									
									
									
									
								
							@ -77,7 +77,7 @@ func EnableJsonDecoderUseNumber() {
 | 
				
			|||||||
	binding.EnableDecoderUseNumber = true
 | 
						binding.EnableDecoderUseNumber = true
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
// EnableJsonDisallowUnknownFields sets true for binding.EnableDecoderDisallowUnknownFields to
 | 
					// EnableJsonDecoderDisallowUnknownFields sets true for binding.EnableDecoderDisallowUnknownFields to
 | 
				
			||||||
// call the DisallowUnknownFields method on the JSON Decoder instance.
 | 
					// call the DisallowUnknownFields method on the JSON Decoder instance.
 | 
				
			||||||
func EnableJsonDecoderDisallowUnknownFields() {
 | 
					func EnableJsonDecoderDisallowUnknownFields() {
 | 
				
			||||||
	binding.EnableDecoderDisallowUnknownFields = true
 | 
						binding.EnableDecoderDisallowUnknownFields = true
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user