Versions in this module Expand all Collapse all v0 v0.0.1 Sep 8, 2023 Changes in this version + var InsertIntoUserAccount = createInsertApi[*model.UserAccount](config.AppConfig.Maria.Tables.Users) + var SelectUserAccountByWxId = createSelectByApi[string, *model.UserAccount](config.AppConfig.Maria.Tables.Users, "wxid", func() *model.UserAccount { ... }) + func Init() error + type InsertApi func(value T) (int64, error) + type SelectByApi func(limit int, value V) ([]RES, error)