github.com/guyezi/gofrontend@v0.0.0-20200228202240-7a62a49e62c0/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() {}