Versions in this module Expand all Collapse all v1 v1.51.8 Jul 13, 2021 v1.51.7 Apr 26, 2021 Changes in this version + var Delete = ... + var DeleteMethod = `Delete({{.lowerStartCamelPrimaryKey}} {{.dataType}}) error` + var Error = ... + var Field = `{{.name}} {{.type}} {{.tag}} {{if .hasComment}}// {{.comment}}{{end}}` + var FindOne = ... + var FindOneByField = ... + var FindOneByFieldExtraMethod = ... + var FindOneByFieldMethod = `FindOneBy{{.upperField}}({{.in}}) (*{{.upperStartCamelObject}}, error) ` + var FindOneMethod = `FindOne({{.lowerStartCamelPrimaryKey}} {{.dataType}}) (*{{.upperStartCamelObject}}, error)` + var Imports = ... + var ImportsNoCache = ... + var Insert = ... + var InsertMethod = `Insert(data {{.upperStartCamelObject}}) (sql.Result,error)` + var Model = ... + var New = ... + var Tag = "`db:\"{{.field}}\"`" + var Types = ... + var Update = ... + var UpdateMethod = `Update(data {{.upperStartCamelObject}}) error` + var Vars = fmt.Sprintf(..., "`", "`", "`", "`", "`", "`", "`", "`")