コード例 #1
0
ファイル: postgres.go プロジェクト: pgrunde/sol
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", &PostGres{})
}
コード例 #2
0
ファイル: sqlite3.go プロジェクト: aodin/sol
// 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
ファイル: sqlite3.go プロジェクト: pgrunde/sol
// Add the sqlite3 dialect to the dialect registry
func init() {
	dialect.Register("sqlite3", &Sqlite3{})
}
コード例 #5
0
ファイル: postgres.go プロジェクト: aodin/sol
// Add the postgres dialect to the dialect registry
func init() {
	dialect.Register("postgres", Dialect())
}