From f0ba95e184f4063f60a2338ad95a7ee1fc554e62 Mon Sep 17 00:00:00 2001 From: Dave Collins Date: Thu, 14 Nov 2013 21:19:56 -0600 Subject: Fix a few style issues pointed out by golint. --- spew/dump.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'spew/dump.go') diff --git a/spew/dump.go b/spew/dump.go index 771b473..b5dcfb2 100644 --- a/spew/dump.go +++ b/spew/dump.go @@ -272,9 +272,9 @@ func (s *valuesSorter) Less(i, j int) bool { return s.values[i].String() < s.values[j].String() } -// Generic sort function for native types: int, uint, bool, string and uintptr. -// Other inputs are sort according to their Value.String() value to ensure -// display stability. +// SortValues is a generic sort function for native types: int, uint, bool, +// string and uintptr. Other inputs are sorted according to their +// Value.String() value to ensure display stability. func SortValues(values []reflect.Value) { if len(values) == 0 { return -- cgit v1.2.3