The public key is contained in the private key. Which can be decoded using 
encoding/pem and crypto/x509.

Here's an example:
https://gist.github.com/chrj/1d25c18882b33e78d5882fb1fd8bf693

Cheers,

Christian

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to