func migrateGrpcCompilers(c *config.Config, f *rule.File) {
	for _, r := range f.Rules {
		if r.Kind() != "go_grpc_library" || r.ShouldKeep() || r.Attr("compilers") != nil {
			continue
		}
		r.SetKind("go_proto_library")
		r.SetAttr("compilers", []string{grpcCompilerLabel})
	}
}
func migrateGrpcCompilers(c *config.Config, f *rule.File) {
	for _, r := range f.Rules {
		if r.Kind() != "go_grpc_library" || r.ShouldKeep() || r.Attr("compilers") != nil {
			continue
		}
		r.SetKind("go_proto_library")
		r.SetAttr("compilers", []string{grpcCompilerLabel})
	}
}
func migrateGrpcCompilers ( c * config . Config , f * rule . File ) { for _ , r := range f . Rules { if r . Kind ( ) != " " || r . ShouldKeep ( ) || r . Attr ( " " ) != nil { continue } r . SetKind ( " " ) r . SetAttr ( " " , [ ] string { grpcCompilerLabel } ) } }
// migrateGrpcCompilers converts "go_grpc_library" rules into "go_proto_library"
// rules with a "compilers" attribute.
migrateGrpcCompilers converts go_grpc_library rules into go_proto_library rules with a compilers attribute .