diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 29ac706292..27e8cb93c3 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -11,7 +11,7 @@ jobs: - name: Setup Sage uses: einride/sage/actions/setup@master with: - go-version: "1.20" + go-version: "1.22" - name: Make run: make diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 92f1d02dfd..cc7463d633 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -13,7 +13,7 @@ jobs: - name: Setup Sage uses: einride/sage/actions/setup@master with: - go-version: "1.20" + go-version: "1.22" - name: Make run: make diff --git a/.sage/go.mod b/.sage/go.mod index 46f6e00d9e..da101ad674 100644 --- a/.sage/go.mod +++ b/.sage/go.mod @@ -2,4 +2,4 @@ module sage go 1.19 -require go.einride.tech/sage v0.285.0 +require go.einride.tech/sage v0.291.0 diff --git a/.sage/go.sum b/.sage/go.sum index e1424e329c..e2dd77995d 100644 --- a/.sage/go.sum +++ b/.sage/go.sum @@ -1,2 +1,2 @@ -go.einride.tech/sage v0.285.0 h1:PRaxWgt5CvgW3/9FKxN8Q4vQ+UExEXzILp4XyL/Q+pg= -go.einride.tech/sage v0.285.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= +go.einride.tech/sage v0.291.0 h1:3/t6/jVe5SDMpDeKywRAkfmJMqdvW6wiNOYty+iTiJ0= +go.einride.tech/sage v0.291.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ= diff --git a/go.mod b/go.mod index 83b8b7e1ff..6bb044a77a 100644 --- a/go.mod +++ b/go.mod @@ -1,15 +1,15 @@ module go.einride.tech/aip -go 1.19 +go 1.21 require ( github.com/google/uuid v1.6.0 github.com/stoewer/go-strcase v1.3.0 - google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 - google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 - google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 - google.golang.org/grpc v1.64.1 - google.golang.org/protobuf v1.34.1 + google.golang.org/genproto v0.0.0-20240711142825-46eb208f015d + google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d + google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d + google.golang.org/grpc v1.65.0 + google.golang.org/protobuf v1.34.2 gotest.tools/v3 v3.5.1 ) diff --git a/go.sum b/go.sum index 69bdd06f8c..5c0c000bb9 100644 --- a/go.sum +++ b/go.sum @@ -22,16 +22,16 @@ golang.org/x/sys v0.21.0 h1:rF+pYz3DAGSQAxAu1CbC7catZg4ebC4UIeIhKxBZvws= golang.org/x/sys v0.21.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= -google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80 h1:KAeGQVN3M9nD0/bQXnr/ClcEMJ968gUXJQ9pwfSynuQ= -google.golang.org/genproto v0.0.0-20240123012728-ef4313101c80/go.mod h1:cc8bqMqtv9gMOr0zHg2Vzff5ULhhL2IXP4sbcn32Dro= -google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 h1:RFiFrvy37/mpSpdySBDrUdipW/dHwsRwh3J3+A9VgT4= -google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237/go.mod h1:Z5Iiy3jtmioajWHDGFk7CeugTyHtPvMHA4UTmUkyalE= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237 h1:NnYq6UN9ReLM9/Y01KWNOWyI5xQ9kbIms5GGJVwS/Yc= -google.golang.org/genproto/googleapis/rpc v0.0.0-20240318140521-94a12d6c2237/go.mod h1:WtryC6hu0hhx87FDGxWCDptyssuo68sk10vYjF+T9fY= -google.golang.org/grpc v1.64.1 h1:LKtvyfbX3UGVPFcGqJ9ItpVWW6oN/2XqTxfAnwRRXiA= -google.golang.org/grpc v1.64.1/go.mod h1:hiQF4LFZelK2WKaP6W0L92zGHtiQdZxk8CrSdvyjeP0= -google.golang.org/protobuf v1.34.1 h1:9ddQBjfCyZPOHPUiPxpYESBLc+T8P3E+Vo4IbKZgFWg= -google.golang.org/protobuf v1.34.1/go.mod h1:c6P6GXX6sHbq/GpV6MGZEdwhWPcYBgnhAHhKbcUYpos= +google.golang.org/genproto v0.0.0-20240711142825-46eb208f015d h1:/hmn0Ku5kWij/kjGsrcJeC1T/MrJi2iNWwgAqrihFwc= +google.golang.org/genproto v0.0.0-20240711142825-46eb208f015d/go.mod h1:FfBgJBJg9GcpPvKIuHSZ/aE1g2ecGL74upMzGZjiGEY= +google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d h1:kHjw/5UfflP/L5EbledDrcG4C2597RtymmGRZvHiCuY= +google.golang.org/genproto/googleapis/api v0.0.0-20240711142825-46eb208f015d/go.mod h1:mw8MG/Qz5wfgYr6VqVCiZcHe/GJEfI+oGGDCohaVgB0= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d h1:JU0iKnSg02Gmb5ZdV8nYsKEKsP6o/FGVWTrw4i1DA9A= +google.golang.org/genproto/googleapis/rpc v0.0.0-20240711142825-46eb208f015d/go.mod h1:Ue6ibwXGpU+dqIcODieyLOcgj7z8+IcskoNIgZxtrFY= +google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc= +google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ= +google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg= +google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= diff --git a/proto/gen/einride/example/freight/v1/freight_service.pb.go b/proto/gen/einride/example/freight/v1/freight_service.pb.go index 418ef21838..35e1718e7a 100644 --- a/proto/gen/einride/example/freight/v1/freight_service.pb.go +++ b/proto/gen/einride/example/freight/v1/freight_service.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/freight/v1/freight_service.proto @@ -1554,7 +1554,7 @@ func file_einride_example_freight_v1_freight_service_proto_rawDescGZIP() []byte } var file_einride_example_freight_v1_freight_service_proto_msgTypes = make([]protoimpl.MessageInfo, 20) -var file_einride_example_freight_v1_freight_service_proto_goTypes = []interface{}{ +var file_einride_example_freight_v1_freight_service_proto_goTypes = []any{ (*GetShipperRequest)(nil), // 0: einride.example.freight.v1.GetShipperRequest (*ListShippersRequest)(nil), // 1: einride.example.freight.v1.ListShippersRequest (*ListShippersResponse)(nil), // 2: einride.example.freight.v1.ListShippersResponse @@ -1642,7 +1642,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { file_einride_example_freight_v1_shipper_proto_init() file_einride_example_freight_v1_site_proto_init() if !protoimpl.UnsafeEnabled { - file_einride_example_freight_v1_freight_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*GetShipperRequest); i { case 0: return &v.state @@ -1654,7 +1654,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*ListShippersRequest); i { case 0: return &v.state @@ -1666,7 +1666,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[2].Exporter = func(v any, i int) any { switch v := v.(*ListShippersResponse); i { case 0: return &v.state @@ -1678,7 +1678,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[3].Exporter = func(v any, i int) any { switch v := v.(*CreateShipperRequest); i { case 0: return &v.state @@ -1690,7 +1690,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[4].Exporter = func(v any, i int) any { switch v := v.(*UpdateShipperRequest); i { case 0: return &v.state @@ -1702,7 +1702,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[5].Exporter = func(v any, i int) any { switch v := v.(*DeleteShipperRequest); i { case 0: return &v.state @@ -1714,7 +1714,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[6].Exporter = func(v any, i int) any { switch v := v.(*GetSiteRequest); i { case 0: return &v.state @@ -1726,7 +1726,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[7].Exporter = func(v any, i int) any { switch v := v.(*ListSitesRequest); i { case 0: return &v.state @@ -1738,7 +1738,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[8].Exporter = func(v any, i int) any { switch v := v.(*ListSitesResponse); i { case 0: return &v.state @@ -1750,7 +1750,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[9].Exporter = func(v any, i int) any { switch v := v.(*CreateSiteRequest); i { case 0: return &v.state @@ -1762,7 +1762,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[10].Exporter = func(v any, i int) any { switch v := v.(*UpdateSiteRequest); i { case 0: return &v.state @@ -1774,7 +1774,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[11].Exporter = func(v any, i int) any { switch v := v.(*DeleteSiteRequest); i { case 0: return &v.state @@ -1786,7 +1786,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[12].Exporter = func(v any, i int) any { switch v := v.(*BatchGetSitesRequest); i { case 0: return &v.state @@ -1798,7 +1798,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[13].Exporter = func(v any, i int) any { switch v := v.(*BatchGetSitesResponse); i { case 0: return &v.state @@ -1810,7 +1810,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[14].Exporter = func(v any, i int) any { switch v := v.(*GetShipmentRequest); i { case 0: return &v.state @@ -1822,7 +1822,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[15].Exporter = func(v any, i int) any { switch v := v.(*ListShipmentsRequest); i { case 0: return &v.state @@ -1834,7 +1834,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[16].Exporter = func(v any, i int) any { switch v := v.(*ListShipmentsResponse); i { case 0: return &v.state @@ -1846,7 +1846,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[17].Exporter = func(v any, i int) any { switch v := v.(*CreateShipmentRequest); i { case 0: return &v.state @@ -1858,7 +1858,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[18].Exporter = func(v any, i int) any { switch v := v.(*UpdateShipmentRequest); i { case 0: return &v.state @@ -1870,7 +1870,7 @@ func file_einride_example_freight_v1_freight_service_proto_init() { return nil } } - file_einride_example_freight_v1_freight_service_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_freight_service_proto_msgTypes[19].Exporter = func(v any, i int) any { switch v := v.(*DeleteShipmentRequest); i { case 0: return &v.state diff --git a/proto/gen/einride/example/freight/v1/shipment.pb.go b/proto/gen/einride/example/freight/v1/shipment.pb.go index 1f98a0bd59..7c28dabee5 100644 --- a/proto/gen/einride/example/freight/v1/shipment.pb.go +++ b/proto/gen/einride/example/freight/v1/shipment.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/freight/v1/shipment.proto @@ -396,7 +396,7 @@ func file_einride_example_freight_v1_shipment_proto_rawDescGZIP() []byte { } var file_einride_example_freight_v1_shipment_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_einride_example_freight_v1_shipment_proto_goTypes = []interface{}{ +var file_einride_example_freight_v1_shipment_proto_goTypes = []any{ (*Shipment)(nil), // 0: einride.example.freight.v1.Shipment (*LineItem)(nil), // 1: einride.example.freight.v1.LineItem nil, // 2: einride.example.freight.v1.Shipment.AnnotationsEntry @@ -425,7 +425,7 @@ func file_einride_example_freight_v1_shipment_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_einride_example_freight_v1_shipment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_shipment_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shipment); i { case 0: return &v.state @@ -437,7 +437,7 @@ func file_einride_example_freight_v1_shipment_proto_init() { return nil } } - file_einride_example_freight_v1_shipment_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_shipment_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*LineItem); i { case 0: return &v.state diff --git a/proto/gen/einride/example/freight/v1/shipper.pb.go b/proto/gen/einride/example/freight/v1/shipper.pb.go index 54cdf0ac4c..31708c4e51 100644 --- a/proto/gen/einride/example/freight/v1/shipper.pb.go +++ b/proto/gen/einride/example/freight/v1/shipper.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/freight/v1/shipper.proto @@ -176,7 +176,7 @@ func file_einride_example_freight_v1_shipper_proto_rawDescGZIP() []byte { } var file_einride_example_freight_v1_shipper_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_einride_example_freight_v1_shipper_proto_goTypes = []interface{}{ +var file_einride_example_freight_v1_shipper_proto_goTypes = []any{ (*Shipper)(nil), // 0: einride.example.freight.v1.Shipper (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp } @@ -197,7 +197,7 @@ func file_einride_example_freight_v1_shipper_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_einride_example_freight_v1_shipper_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_shipper_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Shipper); i { case 0: return &v.state diff --git a/proto/gen/einride/example/freight/v1/site.pb.go b/proto/gen/einride/example/freight/v1/site.pb.go index 70b79e4ff7..62785da19c 100644 --- a/proto/gen/einride/example/freight/v1/site.pb.go +++ b/proto/gen/einride/example/freight/v1/site.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/freight/v1/site.proto @@ -192,7 +192,7 @@ func file_einride_example_freight_v1_site_proto_rawDescGZIP() []byte { } var file_einride_example_freight_v1_site_proto_msgTypes = make([]protoimpl.MessageInfo, 1) -var file_einride_example_freight_v1_site_proto_goTypes = []interface{}{ +var file_einride_example_freight_v1_site_proto_goTypes = []any{ (*Site)(nil), // 0: einride.example.freight.v1.Site (*timestamppb.Timestamp)(nil), // 1: google.protobuf.Timestamp (*latlng.LatLng)(nil), // 2: google.type.LatLng @@ -215,7 +215,7 @@ func file_einride_example_freight_v1_site_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_einride_example_freight_v1_site_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_freight_v1_site_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Site); i { case 0: return &v.state diff --git a/proto/gen/einride/example/syntax/v1/fieldbehaviors.pb.go b/proto/gen/einride/example/syntax/v1/fieldbehaviors.pb.go index 2fca7f09d6..8e3c24741a 100644 --- a/proto/gen/einride/example/syntax/v1/fieldbehaviors.pb.go +++ b/proto/gen/einride/example/syntax/v1/fieldbehaviors.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/syntax/v1/fieldbehaviors.proto @@ -449,7 +449,7 @@ func file_einride_example_syntax_v1_fieldbehaviors_proto_rawDescGZIP() []byte { } var file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes = make([]protoimpl.MessageInfo, 6) -var file_einride_example_syntax_v1_fieldbehaviors_proto_goTypes = []interface{}{ +var file_einride_example_syntax_v1_fieldbehaviors_proto_goTypes = []any{ (*FieldBehaviorMessage)(nil), // 0: einride.example.syntax.v1.FieldBehaviorMessage (*SmallFieldBehaviorMessage)(nil), // 1: einride.example.syntax.v1.SmallFieldBehaviorMessage nil, // 2: einride.example.syntax.v1.FieldBehaviorMessage.MapMessageEntry @@ -486,7 +486,7 @@ func file_einride_example_syntax_v1_fieldbehaviors_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*FieldBehaviorMessage); i { case 0: return &v.state @@ -498,7 +498,7 @@ func file_einride_example_syntax_v1_fieldbehaviors_proto_init() { return nil } } - file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[1].Exporter = func(v any, i int) any { switch v := v.(*SmallFieldBehaviorMessage); i { case 0: return &v.state @@ -511,7 +511,7 @@ func file_einride_example_syntax_v1_fieldbehaviors_proto_init() { } } } - file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_einride_example_syntax_v1_fieldbehaviors_proto_msgTypes[0].OneofWrappers = []any{ (*FieldBehaviorMessage_FieldBehaviorMessage)(nil), (*FieldBehaviorMessage_SmallFieldBehaviorMessage)(nil), } diff --git a/proto/gen/einride/example/syntax/v1/syntax.pb.go b/proto/gen/einride/example/syntax/v1/syntax.pb.go index ef6d382720..a992353137 100644 --- a/proto/gen/einride/example/syntax/v1/syntax.pb.go +++ b/proto/gen/einride/example/syntax/v1/syntax.pb.go @@ -1,6 +1,6 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.34.1 +// protoc-gen-go v1.34.2 // protoc (unknown) // source: einride/example/syntax/v1/syntax.proto @@ -628,7 +628,7 @@ func file_einride_example_syntax_v1_syntax_proto_rawDescGZIP() []byte { var file_einride_example_syntax_v1_syntax_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_einride_example_syntax_v1_syntax_proto_msgTypes = make([]protoimpl.MessageInfo, 3) -var file_einride_example_syntax_v1_syntax_proto_goTypes = []interface{}{ +var file_einride_example_syntax_v1_syntax_proto_goTypes = []any{ (Enum)(0), // 0: einride.example.syntax.v1.Enum (*Message)(nil), // 1: einride.example.syntax.v1.Message nil, // 2: einride.example.syntax.v1.Message.MapStringStringEntry @@ -658,7 +658,7 @@ func file_einride_example_syntax_v1_syntax_proto_init() { return } if !protoimpl.UnsafeEnabled { - file_einride_example_syntax_v1_syntax_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_einride_example_syntax_v1_syntax_proto_msgTypes[0].Exporter = func(v any, i int) any { switch v := v.(*Message); i { case 0: return &v.state @@ -671,7 +671,7 @@ func file_einride_example_syntax_v1_syntax_proto_init() { } } } - file_einride_example_syntax_v1_syntax_proto_msgTypes[0].OneofWrappers = []interface{}{ + file_einride_example_syntax_v1_syntax_proto_msgTypes[0].OneofWrappers = []any{ (*Message_OneofString)(nil), (*Message_OneofEnum)(nil), (*Message_OneofMessage1)(nil),