From f367d220ff99eaee7debb234c3234de6c781359c Mon Sep 17 00:00:00 2001 From: Rasmus Dahlberg Date: Fri, 30 Oct 2020 20:40:17 +0100 Subject: refactor types and documentation Structured files a bit better, added more documentation, switched to pointers as default (unless specifically motivated not to do so), and encapsulated TLS (un)marshaling for the respective types that use it. --- trillian.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'trillian.go') diff --git a/trillian.go b/trillian.go index 0912af7..57494b1 100644 --- a/trillian.go +++ b/trillian.go @@ -15,8 +15,6 @@ func checkQueueLeaf(rsp *trillian.QueueLeafResponse) (int, error) { if codes.Code(rsp.QueuedLeaf.GetStatus().GetCode()) == codes.AlreadyExists { // no need to report this as an invalid request, just (re)issue sdi glog.V(3).Infof("queued leaf is a duplicate => %X", rsp.QueuedLeaf.Leaf.LeafValue) - } else { - glog.V(3).Infof("queued leaf => %X", rsp.QueuedLeaf.Leaf.LeafValue) } return 0, nil } -- cgit v1.2.3