Пример #1
0
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", &PostGres{})
}
Пример #2
0
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", Dialect())
}
Пример #3
0
Файл: mysql.go Проект: aodin/sol
// Add the MySQL dialect to the dialect registry
func init() {
	dialect.Register("mysql", Dialect())
}
Пример #4
0
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", &Sqlite3{})
}
Пример #5
0
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", Dialect())
}