refact: to use go-dbw CreateItems, DeleteItems (#4974)

* refact: to use go-dbw CreateItems, DeleteItems

Latest version of go-dbw updated the signature of
CreateItems(...) and DeleteItems(...) on a happy
note this latest version of go-dbw actually does
batch inserts and updates for this functions.

* all: regenerate protos with new protoc-gen-go version
This commit is contained in:
Jim authored and GitHub committed 2024-08-01 11:18:53 -04:00
1 parent b24f6dcee8
commit 28b465e4b8
167 files changed
+2254 -2248

No files matched your search

@@ -3,7 +3,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.33.0
// protoc-gen-go v1.34.2
// protoc (unknown)
// source: controller/custom_options/v1/testing.proto
@@ -617,7 +617,7 @@ func file_controller_custom_options_v1_testing_proto_rawDescGZIP() []byte {
}
var file_controller_custom_options_v1_testing_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_controller_custom_options_v1_testing_proto_goTypes = []interface{}{
var file_controller_custom_options_v1_testing_proto_goTypes = []any{
(*TestBase)(nil), // 0: controller.custom_options.v1.TestBase
(*TestBaseSplit1)(nil), // 1: controller.custom_options.v1.TestBaseSplit1
(*TestBaseSplit2)(nil), // 2: controller.custom_options.v1.TestBaseSplit2
@@ -641,7 +641,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
}
file_controller_custom_options_v1_options_proto_init()
if !protoimpl.UnsafeEnabled {
file_controller_custom_options_v1_testing_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[0].Exporter = func(v any, i int) any {
switch v := v.(*TestBase); i {
case 0:
return &v.state
@@ -653,7 +653,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[1].Exporter = func(v any, i int) any {
switch v := v.(*TestBaseSplit1); i {
case 0:
return &v.state
@@ -665,7 +665,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[2].Exporter = func(v any, i int) any {
switch v := v.(*TestBaseSplit2); i {
case 0:
return &v.state
@@ -677,7 +677,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[3].Exporter = func(v any, i int) any {
switch v := v.(*TestProperlyNamedFields); i {
case 0:
return &v.state
@@ -689,7 +689,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[4].Exporter = func(v any, i int) any {
switch v := v.(*TestNameDoesntMap); i {
case 0:
return &v.state
@@ -701,7 +701,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[5].Exporter = func(v any, i int) any {
switch v := v.(*TestNotEnoughFields); i {
case 0:
return &v.state
@@ -713,7 +713,7 @@ func file_controller_custom_options_v1_testing_proto_init() {
return nil
}
}
file_controller_custom_options_v1_testing_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
file_controller_custom_options_v1_testing_proto_msgTypes[6].Exporter = func(v any, i int) any {
switch v := v.(*TestManyToOneMappings); i {
case 0:
return &v.state