mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
18 lines
440 B
Go
18 lines
440 B
Go
package main
|
|
|
|
import (
|
|
"github.com/injoyai/logs"
|
|
"github.com/injoyai/tdx"
|
|
)
|
|
|
|
func main() {
|
|
_, err := tdx.NewManageMysql(&tdx.ManageConfig{
|
|
Number: 2,
|
|
CodesFilename: "root:root@tcp(192.168.1.105:3306)/stock?charset=utf8mb4&parseTime=True&loc=Local",
|
|
WorkdayFileName: "root:root@tcp(192.168.1.105:3306)/stock?charset=utf8mb4&parseTime=True&loc=Local",
|
|
Dial: nil,
|
|
})
|
|
logs.PanicErr(err)
|
|
logs.Debug("done")
|
|
}
|