Vestmore_GO/server/app/main_test.go

17 lines
376 B
Go
Raw Normal View History

2024-04-07 10:12:24 +00:00
package main
2024-04-08 10:13:01 +00:00
import (
"context"
"testing"
"github.com/iapologizewhenimwrong/Vestmore_GO/model"
_ "github.com/go-sql-driver/mysql"
)
2024-04-07 10:12:24 +00:00
func TestMain(t *testing.T) {
2024-04-08 10:13:01 +00:00
model.Models.SetSqlxDriver("mysql", "php:aFk3i4Dj#76!4sd@tcp(47.243.100.6:3306)/zunxinfinance?parseTime=true&charset=utf8mb4&timeout=10s")
model.Models.KillaraCustomerModel.Find(context.TODO())
2024-04-07 10:12:24 +00:00
main()
}