Example #1
0
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", &PostGres{})
}
Example #2
0
File: sqlite3.go Project: aodin/sol
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", Dialect())
}
Example #3
0
File: mysql.go Project: aodin/sol
// Add the MySQL dialect to the dialect registry
func init() {
	dialect.Register("mysql", Dialect())
}
Example #4
0
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", &Sqlite3{})
}
Example #5
0
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", Dialect())
}