refactor: update go mod library (#210)

refactor: update go mod library and refactor dev logic

Co-authored-by: wencaiwulue <895703375@qq.com>
This commit is contained in:
naison
2024-04-04 12:04:02 +08:00
committed by GitHub
parent 91b3a2fbdf
commit 87166494c0
1336 changed files with 51428 additions and 57404 deletions

View File

@@ -8,7 +8,7 @@ import (
type DBMSType string
const (
// DBMSSQLServer is a MS SQL Server
// DBMSSQLServer is a MS SQL
DBMSSQLServer DBMSType = "mssql"
// DBMSPostgres is a PostgreSQL Server
DBMSPostgres DBMSType = "postgresql"
@@ -16,6 +16,8 @@ const (
DBMSMySQL DBMSType = "mysql"
// DBMSOracle is a Oracle Server
DBMSOracle DBMSType = "oracle"
// DBMSSnowflake is a Snowflake Server
DBMSSnowflake DBMSType = "snowflake"
)
var commands = map[string]bool{
@@ -37,6 +39,8 @@ var commands = map[string]bool{
"EXEC": true,
"EXPLAIN": true,
"STRAIGHT_JOIN": true,
"USE": true,
"CLONE": true,
}
var tableIndicators = map[string]bool{
@@ -46,6 +50,7 @@ var tableIndicators = map[string]bool{
"UPDATE": true,
"TABLE": true,
"STRAIGHT_JOIN": true, // MySQL
"CLONE": true, // Snowflake
}
var keywords = map[string]bool{