From 0055708c8281b4e75692ba4eff57039461e089f1 Mon Sep 17 00:00:00 2001 From: Vladimir Kovpak Date: Thu, 15 Nov 2018 23:22:22 +0200 Subject: [PATCH] reflect: Add comment for String method of Kind struct On reflect documentation page only this function doesn't have description, this commit add simple description. --- src/reflect/type.go | 1 + 1 file changed, 1 insertion(+) diff --git a/src/reflect/type.go b/src/reflect/type.go index d8971d620ef..72821b4dbc1 100644 --- a/src/reflect/type.go +++ b/src/reflect/type.go @@ -593,6 +593,7 @@ const ( kindMask = (1 << 5) - 1 ) +// String returns a human-readable name of kind k. func (k Kind) String() string { if int(k) < len(kindNames) { return kindNames[k]