ソースを参照

cmd/protoc-gen-go: remove stale comment

Change-Id: I88c5536c29602206657cbeab81347c872732da56
Reviewed-on: https://go-review.googlesource.com/c/156198
Reviewed-by: Joe Tsai <thebrokentoaster@gmail.com>
Damien Neil 7 年 前
コミット
60e9f879a3
1 ファイル変更0 行追加6 行削除
  1. 0 6
      cmd/protoc-gen-go/internal_gengo/main.go

+ 0 - 6
cmd/protoc-gen-go/internal_gengo/main.go

@@ -123,12 +123,6 @@ func GenerateFile(gen *protogen.Plugin, file *protogen.File, g *protogen.Generat
 	g.P("package ", f.GoPackageName)
 	g.P()
 
-	// These references are not necessary, since we automatically add
-	// all necessary imports before formatting the generated file.
-	//
-	// This section exists to generate output more consistent with
-	// the previous version of protoc-gen-go, to make it easier to
-	// detect unintended variations.
 	if !isDescriptor(file) {
 		g.P("// This is a compile-time assertion to ensure that this generated file")
 		g.P("// is compatible with the proto package it is being compiled against.")