6 "golang.org/x/text/unicode/cldr"
10 var dr *cldr.CLDR // assume this is initialized
13 cs := x.Collations.Collation
14 // remove all but the default
15 cldr.MakeSlice(&cs).Filter(func(e cldr.Elem) bool {
16 return e.GetCommon().Type != x.Collations.Default()
18 for i, c := range cs {
19 fmt.Println(i, c.Type)