File size: 171 Bytes
e36aeda
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
package main

import (
	"reflect"
)

type Foo struct {
	Bar string `json:"Bar@baz,omitempty"`
}

func F() {
	println(reflect.TypeOf(Foo{}).Field(0).Tag)
}

func main() {}