summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorsiddharth <s@ricketyspace.net>2021-09-19 13:48:31 -0400
committersiddharth <s@ricketyspace.net>2021-09-19 13:48:31 -0400
commit5a7ec9ac19e258b941e7e86b912b87e46d67335f (patch)
treefb910943352b5471eb154285a4eb58de9ef3c893 /lib
parent891707e423f8db059115351ebce1513bf207db46 (diff)
lib: CPError.err -> CPError.Err
Diffstat (limited to 'lib')
-rw-r--r--lib/error.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/error.go b/lib/error.go
index 3b49a05..6df5aa9 100644
--- a/lib/error.go
+++ b/lib/error.go
@@ -5,7 +5,7 @@ package lib
// CryptoPals Error
type CPError struct {
- err string
+ Err string
}
-func (e CPError) Error() string { return e.err }
+func (e CPError) Error() string { return e.Err }