golang - struct field tag not compatible with reflect.StructTag.Get: bad syntax for struct tag pair

go-bot

2018-05-28T13:04:02Z||2018-05-28T13:04:02Z

type Config struct {
    Name bool `json:"name"` // 正确!

    Name bool `json: "name"` // 错误!
    Name bool `json:name` // 错误!
}