code: func LoadCACert(path string) (*x509.CertPool, error) {
  	result := x509.NewCertPool()
  	if err := appendPEMCertsFromPath(result, path); err != nil {
  		return nil, err
  	}
  
  	return result, nil
  }
docs: // Loads the certificate from given path and creates a certificate pool from it.