mirror of https://github.com/go-gorm/gorm.git
13 lines
237 B
Go
13 lines
237 B
Go
|
package mysql_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/jinzhu/gorm"
|
||
|
"github.com/jinzhu/gorm/dialects/mysql"
|
||
|
)
|
||
|
|
||
|
func TestOpen(t *testing.T) {
|
||
|
gorm.Open(mysql.Open("gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True"), nil)
|
||
|
}
|