code: func (s *SecureConfig) Check(filePath string) (bool, error) {
  	if len(s.Checksum) == 0 {
  		return false, ErrSecureConfigNoChecksum
  	}
  
  	if s.Hash == nil {
  		return false, ErrSecureConfigNoHash
  	}
  
  	file, err := os.Open(filePath)
  	if err != nil {
  		return false, err
  	}
  	defer file.Close()
  
  	_, err = io.Copy(s.Hash, file)
  	if err != nil {
  		return false, err
  	}
  
  	sum := s.Hash.Sum(nil)
  
  	return subtle.ConstantTimeCompare(sum, s.Checksum) == 1, nil
  }
docs: // Check takes the filepath to an executable and returns true if the checksum of
  // the file matches the checksum provided in the SecureConfig.