From 3d6c05bebfa4923aebd6a945c6166bd12d9b49f0 Mon Sep 17 00:00:00 2001 From: JaySon-Huang Date: Thu, 22 Aug 2024 16:57:14 +0800 Subject: [PATCH] Update go codes by go 1.17 --- go-binlog/binlog.pb.go | 16 ++-- go-binlog/cistern.pb.go | 26 +++--- go-binlog/pump.pb.go | 28 +++--- go-tipb/analyze.pb.go | 202 ++++++++++++++++++++-------------------- 4 files changed, 132 insertions(+), 140 deletions(-) diff --git a/go-binlog/binlog.pb.go b/go-binlog/binlog.pb.go index b448dd183..1d9794ed4 100644 --- a/go-binlog/binlog.pb.go +++ b/go-binlog/binlog.pb.go @@ -2,17 +2,15 @@ // source: binlog.proto /* -Package binlog is a generated protocol buffer package. + Package binlog is a generated protocol buffer package. -It is generated from these files: + It is generated from these files: + binlog.proto - binlog.proto - -It has these top-level messages: - - TableMutation - PrewriteValue - Binlog + It has these top-level messages: + TableMutation + PrewriteValue + Binlog */ package binlog diff --git a/go-binlog/cistern.pb.go b/go-binlog/cistern.pb.go index 0e2ba4199..352167050 100644 --- a/go-binlog/cistern.pb.go +++ b/go-binlog/cistern.pb.go @@ -2,20 +2,18 @@ // source: cistern.proto /* -Package binlog is a generated protocol buffer package. - -It is generated from these files: - - cistern.proto - -It has these top-level messages: - - DumpBinlogReq - DumpBinlogResp - DumpDDLJobsReq - DumpDDLJobsResp - NotifyReq - NotifyResp + Package binlog is a generated protocol buffer package. + + It is generated from these files: + cistern.proto + + It has these top-level messages: + DumpBinlogReq + DumpBinlogResp + DumpDDLJobsReq + DumpDDLJobsResp + NotifyReq + NotifyResp */ package binlog diff --git a/go-binlog/pump.pb.go b/go-binlog/pump.pb.go index 40092b435..7a3d65dd7 100644 --- a/go-binlog/pump.pb.go +++ b/go-binlog/pump.pb.go @@ -2,21 +2,19 @@ // source: pump.proto /* -Package binlog is a generated protocol buffer package. - -It is generated from these files: - - pump.proto - -It has these top-level messages: - - WriteBinlogReq - WriteBinlogResp - PullBinlogReq - PullBinlogResp - Pos - Meta - Entity + Package binlog is a generated protocol buffer package. + + It is generated from these files: + pump.proto + + It has these top-level messages: + WriteBinlogReq + WriteBinlogResp + PullBinlogReq + PullBinlogResp + Pos + Meta + Entity */ package binlog diff --git a/go-tipb/analyze.pb.go b/go-tipb/analyze.pb.go index 706f8af97..4554ccc85 100644 --- a/go-tipb/analyze.pb.go +++ b/go-tipb/analyze.pb.go @@ -2,108 +2,106 @@ // source: analyze.proto /* -Package tipb is a generated protocol buffer package. - -It is generated from these files: - - analyze.proto - checksum.proto - executor.proto - explain.proto - expression.proto - metadata.proto - resourcetag.proto - schema.proto - select.proto - topsql_agent.proto - trace.proto - -It has these top-level messages: - - AnalyzeReq - AnalyzeIndexReq - AnalyzeColumnsReq - AnalyzeMixedResp - AnalyzeColumnGroup - AnalyzeColumnsResp - AnalyzeIndexResp - Bucket - Histogram - FMSketch - SampleCollector - RowSampleCollector - RowSample - CMSketchRow - CMSketchTopN - CMSketch - ChecksumRewriteRule - ChecksumRequest - ChecksumResponse - Executor - ExchangeSender - EncodedBytesSlice - ExchangeReceiver - ANNQueryInfo - TableScan - PartitionTableScan - Join - RuntimeFilter - IndexScan - Selection - Projection - Aggregation - TopN - Limit - Kill - ExecutorExecutionSummary - TiFlashExecutionInfo - TiFlashRegionNumOfInstance - TiFlashScanContext - Sort - WindowFrameBound - WindowFrame - Window - GroupingExpr - GroupingSet - Expand - ExprSlice - Expand2 - ExplainData - ExplainOperator - AccessObject - DynamicPartitionAccessObjects - DynamicPartitionAccessObject - ScanAccessObject - IndexAccess - FieldType - Expr - RpnExpr - ByItem - InUnionMetadata - CompareInMetadata - GroupingMark - GroupingFunctionMetadata - ResourceGroupTag - TableInfo - ColumnInfo - IndexInfo - KeyRange - Row - Error - SelectResponse - Chunk - RowMeta - DAGRequest - ChunkMemoryLayout - UserIdentity - StreamResponse - TopSQLRecord - TopSQLRecordItem - SQLMeta - PlanMeta - EmptyResponse - TopSQLSubRequest - TopSQLSubResponse + Package tipb is a generated protocol buffer package. + + It is generated from these files: + analyze.proto + checksum.proto + executor.proto + explain.proto + expression.proto + metadata.proto + resourcetag.proto + schema.proto + select.proto + topsql_agent.proto + trace.proto + + It has these top-level messages: + AnalyzeReq + AnalyzeIndexReq + AnalyzeColumnsReq + AnalyzeMixedResp + AnalyzeColumnGroup + AnalyzeColumnsResp + AnalyzeIndexResp + Bucket + Histogram + FMSketch + SampleCollector + RowSampleCollector + RowSample + CMSketchRow + CMSketchTopN + CMSketch + ChecksumRewriteRule + ChecksumRequest + ChecksumResponse + Executor + ExchangeSender + EncodedBytesSlice + ExchangeReceiver + ANNQueryInfo + TableScan + PartitionTableScan + Join + RuntimeFilter + IndexScan + Selection + Projection + Aggregation + TopN + Limit + Kill + ExecutorExecutionSummary + TiFlashExecutionInfo + TiFlashRegionNumOfInstance + TiFlashScanContext + Sort + WindowFrameBound + WindowFrame + Window + GroupingExpr + GroupingSet + Expand + ExprSlice + Expand2 + ExplainData + ExplainOperator + AccessObject + DynamicPartitionAccessObjects + DynamicPartitionAccessObject + ScanAccessObject + IndexAccess + FieldType + Expr + RpnExpr + ByItem + InUnionMetadata + CompareInMetadata + GroupingMark + GroupingFunctionMetadata + ResourceGroupTag + TableInfo + ColumnInfo + IndexInfo + KeyRange + Row + Error + SelectResponse + Chunk + RowMeta + DAGRequest + ChunkMemoryLayout + UserIdentity + StreamResponse + TopSQLRecord + TopSQLRecordItem + SQLMeta + PlanMeta + EmptyResponse + TopSQLSubRequest + TopSQLSubResponse */ package tipb