github.com/kidsbmilk/gofrontend_all@v0.0.0-20220701224323-6479d5976c5d/libgo/misc/cgo/testplugin/testdata/issue19529/plugin.go (about) 1 package main 2 3 import ( 4 "reflect" 5 ) 6 7 type Foo struct { 8 Bar string `json:"Bar@baz,omitempty"` 9 } 10 11 func F() { 12 println(reflect.TypeOf(Foo{}).Field(0).Tag) 13 } 14 15 func main() {}