code: func MakeEllipticPrivateKeyPEM() ([]byte, error) {
  	privateKey, err := ecdsa.GenerateKey(elliptic.P256(), cryptorand.Reader)
  	if err != nil {
  		return nil, err
  	}
  
  	derBytes, err := x509.MarshalECPrivateKey(privateKey)
  	if err != nil {
  		return nil, err
  	}
  
  	privateKeyPemBlock := &pem.Block{
  		Type:  ECPrivateKeyBlockType,
  		Bytes: derBytes,
  	}
  	return pem.EncodeToMemory(privateKeyPemBlock), nil
  }
docs: // MakeEllipticPrivateKeyPEM creates an ECDSA private key