Versions in this module Expand all Collapse all v0 v0.0.1 Aug 17, 2025 Changes in this version + type Model struct + FieldTypes map[string]string + Fields map[string]string + GuardedFields []string + func (model *Model) Create(fields map[string]string) map[string]string + func (model *Model) Db() *sql.DB + func (model *Model) Delete(id int) map[string]any + func (model *Model) GetList(params map[string]string, additionalFilters []map[string]any) customStructs.ListResponse + func (model *Model) GetOneByField(field, value, withRelation string) customStructs.SimpleResponse + func (model *Model) GetOneById(id int) customStructs.SimpleResponse + func (model *Model) Save() map[string]string + func (model *Model) SetDb(db *sql.DB) + func (model *Model) SetTable(tableTitle string) + func (model *Model) Table() string + func (model *Model) Update(fields map[string]string, id string) map[string]string