Versions in this module Expand all Collapse all v1 v1.0.0 Sep 1, 2022 Changes in this version + func CheckExist(model interface{}, query string, args interface{}, ex *exception.Error) + func CheckExistByKey(model interface{}, val interface{}, ex *exception.Error) + func GetList(model interface{}, cols string, where map[string]interface{}, size int, ...) + func GetMap(model interface{}, cols string, where map[string]interface{}) map[string]interface + func GetMaps(model interface{}, cols string, where map[string]interface{}, size int, ...) []map[string]interface + func GetRowByKey(model interface{}, cols string, val interface{}, ex *exception.Error) + func IsExist(model interface{}, query string, args interface{}) bool + func IsExistByKey(model interface{}, val interface{}) bool + type DefaultModel struct + AddTime int64 + ID int64 + ModTime int64 + func (DefaultModel) TableName() string + func (db *DefaultModel) GetRow(where interface{}) + func (db *DefaultModel) IsExistById(val interface{})