apply.go 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. // Copyright 2022 EMQ Technologies Co., Ltd.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. package driver
  15. func KnownBuildTags() map[string]string {
  16. return map[string]string{
  17. "adodb": "adodb", // github.com/mattn/go-adodb
  18. "athena": "athena", // github.com/uber/athenadriver/go
  19. "avatica": "avatica", // github.com/apache/calcite-avatica-go/v5
  20. "clickhouse": "clickhouse", // github.com/ClickHouse/clickhouse-go
  21. "cosmos": "cosmos", // github.com/btnguyen2k/gocosmos
  22. "couchbase": "n1ql", // github.com/couchbase/go_n1ql
  23. "firebird": "firebird", // github.com/nakagami/firebirdsql
  24. "godror": "godror", // github.com/godror/godror
  25. "h2": "h2", // github.com/jmrobles/h2go
  26. "hive": "hive", // sqlflow.org/gohive
  27. "ignite": "ignite", // github.com/amsokol/ignite-go-client/sql
  28. "impala": "impala", // github.com/bippio/go-impala
  29. "maxcompute": "maxcompute", // sqlflow.org/gomaxcompute
  30. "moderncsqlite": "moderncsqlite", // modernc.org/sqlite
  31. "mymysql": "mymysql", // github.com/ziutek/mymysql/godrv
  32. "mysql": "mysql", // github.com/go-sql-sqlgen/mysql
  33. "netezza": "netezza", // github.com/IBM/nzgo
  34. "odbc": "odbc", // github.com/alexbrainman/odbc
  35. "oracle": "oracle", // github.com/sijms/go-ora/v2
  36. "pgx": "pgx", // github.com/jackc/pgx/v4/stdlib
  37. "postgres": "postgres", // github.com/lib/pq
  38. "presto": "presto", // github.com/prestodb/presto-go-client/presto
  39. "ql": "ql", // modernc.org/ql
  40. "sapase": "sapase", // github.com/thda/tds
  41. "snowflake": "snowflake", // github.com/snowflakedb/gosnowflake
  42. "spanner": "spanner", // github.com/cloudspannerecosystem/go-sql-spanner
  43. "sqlite3": "sqlite3", // github.com/mattn/go-sqlite3
  44. "sqlserver": "sqlserver", // github.com/denisenkom/go-mssqldb
  45. "trino": "trino", // github.com/trinodb/trino-go-client/trino
  46. "vertica": "vertica", // github.com/vertica/vertica-sql-go
  47. "voltdb": "voltdb", // github.com/VoltDB/voltdb-client-go/voltdbclient
  48. }
  49. }