You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the code generated from the setup below, I'm getting the following error:
models/survey_helper.go:48: tmp1.EndsAtToEndsAt undefined (type **time.Time has no field or method EndsAtToEndsAt)
models/survey_helper.go:52: tmp2.StartsAtToStartsAt undefined (type *time.Time has no field or method StartsAtToStartsAt)
Here's the relevant generated part from models/survey_helper.go:
// SurveyToSurvey loads a Survey and builds the default view of media type Survey.func (m*Survey) SurveyToSurvey() *app.Survey {
survey:=&app.Survey{}
tmp1:=&m.EndsAtsurvey.EndsAt=tmp1.EndsAtToEndsAt() // %!s(MISSING)survey.ID=m.IDsurvey.Name=m.Nametmp2:=&m.StartsAtsurvey.StartsAt=tmp2.StartsAtToStartsAt() // %!s(MISSING)survey.Status=m.Statusreturnsurvey
}
With the code generated from the setup below, I'm getting the following error:
Here's the relevant generated part from
models/survey_helper.go
:Setup
Any idea what might be wrong?
The text was updated successfully, but these errors were encountered: