17 lines
376 B
Go
17 lines
376 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"github.com/iapologizewhenimwrong/Vestmore_GO/model"
|
|
|
|
_ "github.com/go-sql-driver/mysql"
|
|
)
|
|
|
|
func TestMain(t *testing.T) {
|
|
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())
|
|
main()
|
|
}
|