type Page struct { PageID int SiteID int URL string Title sql.NullString MetaTags JSONText } type JSONText json.RawMessage _, err := model.db.Insert(PageTable).Returning(goqu.C("page_id")).Rows( goqu.Record{ "site_id": page.SiteID, "url": page.URL, "title": page.Title, "meta_tags": page.MetaTags, }, ).Executor().Exec()
What should I do to solve this error? panic: pq: syntax error at or near ")" [recovered] panic: pq: syntax error at or near ")"
1.4m articles
1.4m replys
5 comments
57.0k users