增加Codes和Workday对mysql的支持

This commit is contained in:
injoyai
2025-10-16 10:33:04 +08:00
parent 29882ea5c0
commit fa98199dae
5 changed files with 174 additions and 57 deletions

View File

@@ -9,10 +9,10 @@ import (
func main() {
common.Test(func(c *tdx.Client) {
_, err := tdx.NewWorkday(c) //"./workday.db"
_, err := tdx.NewWorkdaySqlite(c) //"./workday.db"
logs.PanicErr(err)
_, err = tdx.NewCodes(c) //"./codes.db"
_, err = tdx.NewCodesSqlite(c) //"./codes.db"
logs.PanicErr(err)
c.Close()