Database governance built for humans and agents — controlling changes and access across every major database.
Go cicddata-governancedata-maskingdata-securitydatabase-accessdatabase-governancedevopsdevsecopsflywaygitopsliquibasemongodbmysqloraclepostgresqlschema-migrationssecuritysql-clientsqlservertidb
chore: fix revive linter (#1903)
rebelice65c2adff53cf
diff --git a/api/api_dependency_gate.go b/api/api_dependency_gate.goindex e938d41ab4..9f7b09e67e 100644--- a/api/api_dependency_gate.go+++ b/api/api_dependency_gate.go@@ -8,8 +8,7 @@ package api// 1. the plugin package should NOT depend on the api package as the plugin package should be self-contained.import (- // TODO(rebelice): fix the incorrect dependency and uncomment these-+ // dependency gate_ "github.com/bytebase/bytebase/plugin/advisor"_ "github.com/bytebase/bytebase/plugin/db"_ "github.com/bytebase/bytebase/plugin/metric"diff --git a/plugin/parser/tokenizer.go b/plugin/parser/tokenizer.goindex 339e62ddc5..cf4c4b2bb8 100644--- a/plugin/parser/tokenizer.go+++ b/plugin/parser/tokenizer.go@@ -91,7 +91,7 @@ func (t *tokenizer) splitPostgreSQLMultiSQL() ([]string, error) {t.skip(uint(len(beginRuneList)))t.skipBlank()if t.equalWordCaseInsensitive(atomicRuneList) {- return nil, fmt.Errorf("not support BEGIN ATOMIC ... END in PostgreSQL CREATE PROCEDURE statement, please use double doller style($$ or $tag$) instead of it.")+ return nil, fmt.Errorf("not support BEGIN ATOMIC ... END in PostgreSQL CREATE PROCEDURE statement, please use double doller style($$ or $tag$) instead of it")}default:t.skip(1)