fix compile

This commit is contained in:
Jakub 2019-03-07 16:56:12 +01:00
parent 35a4e32efb
commit 36b497d591
11 changed files with 73 additions and 76 deletions

View file

@ -16,13 +16,8 @@ func TrimNewlines(input string) string {
// ProtonMail Email Parser
const CreationTimeOffset = int64(60 * 60 * 24 * 2)
const (
armorHeaderVersion = "Pmcrypto Golang 0.0.1 (" + constants.VERSION + ")"
armorHeaderComment = "https://protonmail.com"
)
// ArmorHeaders from golang pm-crypto
var ArmorHeaders = map[string]string{
"Version": armorHeaderVersion,
"Comment": armorHeaderComment,
"Version": constants.ArmorHeaderVersion,
"Comment": constants.ArmorHeaderComment,
}