On Fri, Jul 21, 2017 at 3:17 PM wrote:
> - I have user defined data structure called Employee with attributes
"age", name and sal. I want to write three different go functions that
sorts based on age, name and sal.
Are you sorting a slice? https://golang.org/pkg/sort/#Slice
--
-j
--
You rec
Hi,
I have below requirement, could any one suggest on how i can achieve in go
lang using https://golang.org/pkg/sort/.
- I have user defined data structure called Employee with attributes "age",
name and sal. I want to write three different go functions that sorts
based on age, name and sal.
e