From c254bd5d44c5a1a753a2c34deaa55bcec7f40a58 Mon Sep 17 00:00:00 2001 From: Sanjana Rajan Date: Mon, 4 Jun 2018 16:31:50 -0700 Subject: [PATCH] typo fix --- armor.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/armor.go b/armor.go index 4c993ed..d7814e5 100644 --- a/armor.go +++ b/armor.go @@ -8,17 +8,17 @@ import ( "golang.org/x/crypto/openpgp/armor" ) -// AromrType ... -type AromrType string +// ...Armor Type +type ArmorType string -func (at AromrType) string() string { +func (at ArmorType) string() string { return string(at) } const ( - pgpMessageType AromrType = "PGP MESSAGE" - pgpPublicBlockType AromrType = "PGP PUBLIC KEY BLOCK" - pgpPrivateBlockType AromrType = "PGP PRIVATE KEY BLOCK" + pgpMessageType ArmorType = "PGP MESSAGE" + pgpPublicBlockType ArmorType = "PGP PUBLIC KEY BLOCK" + pgpPrivateBlockType ArmorType = "PGP PRIVATE KEY BLOCK" ) // ArmorKey make bytes input key to armor format