mattn / go-redmine

MIT License
185 stars 80 forks source link

vet issue due to invalid struct tag in News struct #24

Closed robvdl closed 7 years ago

robvdl commented 7 years ago

struct field tag json:created_on not compatible with reflect.StructTag.Get: bad syntax for struct tag value (vet)

It's missing quotes " around created_on.

Also same problem with a few fields on the Project struct.

Also TimeEntry has a typo for the SpentOn field and uses the wrong JSON field name:

SpentOn string json:"created_on"