github.com/v2fly/tools@v0.100.0/internal/lsp/testdata/unsafe/unsafe.go (about) 1 package unsafe 2 3 import ( 4 "unsafe" 5 ) 6 7 // Pre-set this marker, as we don't have a "source" for it in this package. 8 /* unsafe.Sizeof */ //@item(Sizeof, "Sizeof", "invalid type", "text") 9 10 func _() { 11 x := struct{}{} 12 _ = unsafe.Sizeof(x) //@complete("z", Sizeof) 13 }