From fca1c65daf52072ff58317328985193b020e2a64 Mon Sep 17 00:00:00 2001 From: Gowtham Gopalakrishnan Date: Sun, 10 Feb 2019 16:49:34 +0530 Subject: [PATCH] go fmt base2.go --- base2.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base2.go b/base2.go index 7924467..fef6cef 100644 --- a/base2.go +++ b/base2.go @@ -34,7 +34,7 @@ func encodeBinary(dst []byte, src []byte) { // decodeBinaryString takes multibase binary representation // and returns a byte array func decodeBinaryString(s string) ([]byte, error) { - if len(s) % 8 != 0 { + if len(s)%8 != 0 { return nil, fmt.Errorf("cannot decode multibase: %s", "length should be a multiple of 4") }