package foo type foo struct { bar string `json:"bar"` baz string timestamp time.Time `json:"@timestamp"` }