Source file src/cmd/cgo/internal/testplugin/testdata/issue19529/plugin.go

     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() {}
    16  

View as plain text