From b31fe15e0d13f9064e26b117541633496c0c3307 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 7 Aug 2017 10:54:35 +0100 Subject: Renaming: "tags" -> "commands"; "commands" -> "actions" --- scorshd.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'scorshd.go') diff --git a/scorshd.go b/scorshd.go index 9ada3b8..f5c57b9 100644 --- a/scorshd.go +++ b/scorshd.go @@ -29,15 +29,15 @@ func SCORSHerr(err int) error { var errStr string switch err { - case SCORSH_ERR_NO_FILE: + case errNoFile: errStr = "Invalid file name" - case SCORSH_ERR_KEYRING: + case errKeyring: errStr = "Invalid keyring" - case SCORSH_ERR_NO_REPO: + case errNoRepo: errStr = "Invalid repository" - case SCORSH_ERR_NO_COMMIT: + case errNoCommit: errStr = "Invalid commit ID" - case SCORSH_ERR_SIGNATURE: + case errSignature: errStr = "Invalid signature" default: errStr = "Generic Error" -- cgit v1.2.3