fix errcheck warnings (#1739)
This commit is contained in:
		
				
					committed by
					
						
						thinkerou
					
				
			
			
				
	
			
			
			
						parent
						
							29a145c85d
						
					
				
				
					commit
					b056a34bdc
				
			@ -26,8 +26,8 @@ func (r ProtoBuf) Render(w http.ResponseWriter) error {
 | 
			
		||||
		return err
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	w.Write(bytes)
 | 
			
		||||
	return nil
 | 
			
		||||
	_, err = w.Write(bytes)
 | 
			
		||||
	return err
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
// WriteContentType (ProtoBuf) writes ProtoBuf ContentType.
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user