What version of Go are you using (go version)?
$ go version 1.13.5
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
Manjaro Linux x64
What did you expect to see?
Documentation should read This kind of key is commonly encoded in PEM blocks of type "EC PRIVATE KEY".
What did you see instead?
The documentation for x509#ParseECPrivateKey states This kind of key is commonly encoded in PEM blocks of type "EC PUBLIC KEY"., however we're parsing a private key here, the block wouldn't be "EC PUBLIC KEY".

What version of Go are you using (
go version)?Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (
go env)?Manjaro Linux x64
What did you expect to see?
Documentation should read
This kind of key is commonly encoded in PEM blocks of type "EC PRIVATE KEY".What did you see instead?
The documentation for x509#ParseECPrivateKey states

This kind of key is commonly encoded in PEM blocks of type "EC PUBLIC KEY"., however we're parsing a private key here, the block wouldn't be "EC PUBLIC KEY".