github.com/likebike/go--@v0.0.0-20190911215757-0bd925d16e96/go/misc/cgo/testplugin/src/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() {}