Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / internal / lsp / testdata / maps / maps.go.in
1 package maps
2
3 func _() {
4         var aVar int          //@item(mapVar, "aVar", "int", "var")
5
6         // not comparabale
7         type aSlice []int     //@item(mapSliceType, "aSlice", "[]int", "type")
8
9         *aSlice     //@item(mapSliceTypePtr, "*aSlice", "[]int", "type")
10
11         // comparable
12         type aStruct struct{} //@item(mapStructType, "aStruct", "struct{...}", "struct")
13
14         map[]a{} //@complete("]", mapSliceTypePtr, mapStructType)
15
16         map[a]a{} //@complete("]", mapSliceTypePtr, mapStructType)
17         map[a]a{} //@complete("{", mapSliceType, mapStructType)
18 }