From 6017e46af405dbe6ac1cd5d6bbb7d7eb01c4dbfd Mon Sep 17 00:00:00 2001 From: Darien Raymond Date: Thu, 23 Nov 2017 10:41:02 +0100 Subject: [PATCH] comments --- common/common.go | 1 + 1 file changed, 1 insertion(+) diff --git a/common/common.go b/common/common.go index 47d47dbd..36b65490 100644 --- a/common/common.go +++ b/common/common.go @@ -11,6 +11,7 @@ func Must(err error) { } } +// Must2 panics if the second parameter is not nil. func Must2(v interface{}, err error) { if err != nil { panic(err)