MCPcopy
hub / github.com/sqlc-dev/sqlc / file_plugin_codegen_proto_init

Function file_plugin_codegen_proto_init

internal/plugin/codegen.pb.go:1432–1648  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1430
1431func init() { file_plugin_codegen_proto_init() }
1432func file_plugin_codegen_proto_init() {
1433 if File_plugin_codegen_proto != nil {
1434 return
1435 }
1436 if !protoimpl.UnsafeEnabled {
1437 file_plugin_codegen_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1438 switch v := v.(*File); i {
1439 case 0:
1440 return &v.state
1441 case 1:
1442 return &v.sizeCache
1443 case 2:
1444 return &v.unknownFields
1445 default:
1446 return nil
1447 }
1448 }
1449 file_plugin_codegen_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1450 switch v := v.(*Settings); i {
1451 case 0:
1452 return &v.state
1453 case 1:
1454 return &v.sizeCache
1455 case 2:
1456 return &v.unknownFields
1457 default:
1458 return nil
1459 }
1460 }
1461 file_plugin_codegen_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1462 switch v := v.(*Codegen); i {
1463 case 0:
1464 return &v.state
1465 case 1:
1466 return &v.sizeCache
1467 case 2:
1468 return &v.unknownFields
1469 default:
1470 return nil
1471 }
1472 }
1473 file_plugin_codegen_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1474 switch v := v.(*Catalog); i {
1475 case 0:
1476 return &v.state
1477 case 1:
1478 return &v.sizeCache
1479 case 2:
1480 return &v.unknownFields
1481 default:
1482 return nil
1483 }
1484 }
1485 file_plugin_codegen_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1486 switch v := v.(*Schema); i {
1487 case 0:
1488 return &v.state
1489 case 1:

Callers 1

initFunction · 0.85

Calls 1

BuildMethod · 0.80

Tested by

no test coverage detected