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 function names (#11869)
MarkDavenya00ca2de630c
diff --git a/backend/plugin/parser/mysql/normalize.go b/backend/plugin/parser/mysql/normalize.goindex 5a634a2bd0..db84e71b1d 100644--- a/backend/plugin/parser/mysql/normalize.go+++ b/backend/plugin/parser/mysql/normalize.go@@ -364,7 +364,7 @@ func GetCollationName(ctx parser.IFieldDefinitionContext) string {return ""}-// IsTypeType check if the dataType is time type.+// IsTimeType check if the dataType is time type.func IsTimeType(ctx parser.IDataTypeContext) bool {if ctx.GetType_() == nil {return falsediff --git a/backend/plugin/parser/tidb/normalize.go b/backend/plugin/parser/tidb/normalize.goindex bfc3627385..e5fa93716c 100644--- a/backend/plugin/parser/tidb/normalize.go+++ b/backend/plugin/parser/tidb/normalize.go@@ -327,7 +327,7 @@ func GetCharSetName(ctx parser.IDataTypeContext) string {return charset}-// IsTypeType check if the dataType is time type.+// IsTimeType check if the dataType is time type.func IsTimeType(ctx parser.IDataTypeContext) bool {if ctx.GetType_() == nil {return falsediff --git a/backend/sql-server/advise.go b/backend/sql-server/advise.goindex 6c51a0d48e..a066e6f8f8 100644--- a/backend/sql-server/advise.go+++ b/backend/sql-server/advise.go@@ -33,7 +33,7 @@ func newCatalogService(dbType storepb.Engine) *catalogService {}}-// GetDatabase is the API message in catalog.+// GetFinder is the API message in catalog.func (c *catalogService) GetFinder() *catalog.Finder {return c.finder}diff --git a/backend/tests/environment.go b/backend/tests/environment.goindex 57c89bbad2..66861b635a 100644--- a/backend/tests/environment.go+++ b/backend/tests/environment.go@@ -7,7 +7,7 @@ import (v1pb "github.com/bytebase/bytebase/proto/generated-go/v1")-// getProjects gets the environments.+// getEnvironment gets the environments.func (ctl *controller) getEnvironment(ctx context.Context, id string) (*v1pb.Environment, error) {environment, err := ctl.environmentServiceClient.GetEnvironment(ctx,&v1pb.GetEnvironmentRequest{