diff options
| author | Dave Collins <[email protected]> | 2013-11-14 21:19:56 -0600 |
|---|---|---|
| committer | Dave Collins <[email protected]> | 2013-11-14 21:19:56 -0600 |
| commit | f0ba95e184f4063f60a2338ad95a7ee1fc554e62 (patch) | |
| tree | d4105e0d57afa90a74bd29d1c68ea3779cab6c2c /spew/dump.go | |
| parent | f13f098c7a759ac1c79318d6aee18426939db828 (diff) | |
Fix a few style issues pointed out by golint.
Diffstat (limited to 'spew/dump.go')
| -rw-r--r-- | spew/dump.go | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
