mirror of
				https://gitea.com/Lydanne/buildx.git
				synced 2025-11-04 18:13:42 +08:00 
			
		
		
		
	Bump github.com/gogo/googleapis to v1.3.2 Bump github.com/docker/cli to master Signed-off-by: Silvin Lubecki <silvin.lubecki@docker.com>
		
			
				
	
	
		
			15 lines
		
	
	
		
			373 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			373 B
		
	
	
	
		
			Go
		
	
	
	
	
	
// This file contains changes that are only compatible with go 1.10 and onwards.
 | 
						|
 | 
						|
// +build go1.10
 | 
						|
 | 
						|
package yaml
 | 
						|
 | 
						|
import "encoding/json"
 | 
						|
 | 
						|
// DisallowUnknownFields configures the JSON decoder to error out if unknown
 | 
						|
// fields come along, instead of dropping them by default.
 | 
						|
func DisallowUnknownFields(d *json.Decoder) *json.Decoder {
 | 
						|
	d.DisallowUnknownFields()
 | 
						|
	return d
 | 
						|
}
 |