This commit is contained in:
chai2010 2016-01-27 18:06:08 +08:00
parent ce4694ad30
commit dc16c5b6c7

View File

@ -83,7 +83,7 @@ func topoSort(m map[string][]string) []string {
} }
var keys []string var keys []string
for key := range m { for key := range m {
keys = append(keys, key) keys = append(keys, key)
} }
sort.Strings(keys) sort.Strings(keys)
visitAll(keys) visitAll(keys)