Concise Go/Golang solution
\nfunc groupAnagrams(strs []string) [][]string {\n    hm := make(map[string][]string)\n    for _, w := range strs {\n        key := sortString(w)\n        hm[ke
```\nfunc groupAnagrams(strs []string) [][]string {\n    hm := make(map[string][]string)\n    for _, w := range strs {\n        key := sortString(w)\n        hm[key] = append(hm[key], w)\n    }\n    \n    var ans [][]string\n    for _, words := range hm {\n        ans = append(ans, words)\n    }\n    return ans\n}\n\nfunc sortString(str string) string {\n    runes := []rune(str)\n    sort.Slice(runes, func(a, b int) bool {\n        return runes[a] < runes[b]\n    })\n    return string(runes)\n}\n```
['Go']