func (w *Website) GetCert() (*x509.Certificate, error) {
	res, err := w.Client.Get(w.Fullurl)
	if err != nil {
		return nil, err
	}
	return res.TLS.PeerCertificates[0], nil
}
// GetCert returns the x509 certificate from the server
GetCert returns the x509 certificate from the server
// GetCert returns the x509 certificate from the server
func (w *Website) GetCert() (*x509.Certificate, error) {
	res, err := w.Client.Get(w.Fullurl)
	if err != nil {
		return nil, err
	}
	return res.TLS.PeerCertificates[0], nil
}
func ( w * Website ) GetCert ( ) ( * x509 . Certificate , error ) { res , err := w . Client . Get ( w . Fullurl ) if err != nil { return nil , err } return res . TLS . PeerCertificates [ 0 ] , nil }
GetCert returns the x509 certificate from the server
GetCert returns the x509 certificate from the server