Closed robvdl closed 7 years ago
struct field tag json:created_on not compatible with reflect.StructTag.Get: bad syntax for struct tag value (vet)
json:created_on
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"
json:"created_on"
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"