This is an automated email from the ASF dual-hosted git repository. sruehl pushed a change to branch develop in repository https://gitbox.apache.org/repos/asf/plc4x.git
from 383f5987e1 feat(code-gen/go): enum field writer new 853af527d2 feat(code-gen/go): enum field writer new c1ec3d80ec feat(code-gen/go): implicit field writer The 2 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "add" were already present in the repository and have only been added to this reference. Summary of changes: .../language/go/GoLanguageTemplateHelper.java | 2 +- .../templates/go/complex-type-template.go.ftlh | 29 ++++++++-------------- .../resources/templates/go/enum-template.go.ftlh | 2 +- .../readwrite/model/CIPEncapsulationPacket.go | 7 ++---- .../ads/discovery/readwrite/model/AdsDiscovery.go | 7 ++---- .../discovery/readwrite/model/AdsDiscoveryBlock.go | 2 +- .../model/AdsDiscoveryBlockFingerprint.go | 7 ++---- .../readwrite/model/AdsDiscoveryBlockOsData.go | 7 ++---- .../readwrite/model/AdsDiscoveryBlockVersion.go | 7 ++---- .../ads/discovery/readwrite/model/AmsString.go | 7 ++---- .../protocols/ads/readwrite/model/AdsDataType.go | 4 +-- .../readwrite/model/AdsDataTypeTableChildEntry.go | 21 +++++----------- .../ads/readwrite/model/AdsDataTypeTableEntry.go | 21 +++++----------- .../ads/readwrite/model/AdsReadResponse.go | 7 ++---- .../ads/readwrite/model/AdsReadWriteRequest.go | 7 ++---- .../ads/readwrite/model/AdsReadWriteResponse.go | 7 ++---- .../ads/readwrite/model/AdsSymbolTableEntry.go | 21 +++++----------- .../ads/readwrite/model/AdsWriteControlRequest.go | 7 ++---- .../ads/readwrite/model/AdsWriteRequest.go | 7 ++---- plc4go/protocols/ads/readwrite/model/AmsPacket.go | 9 +++---- .../protocols/ads/readwrite/model/AmsTCPPacket.go | 7 ++---- plc4go/protocols/bacnetip/readwrite/model/APDU.go | 2 +- .../model/BACnetConfirmedServiceRequest.go | 2 +- .../bacnetip/readwrite/model/BACnetServiceAck.go | 2 +- .../model/BACnetUnconfirmedServiceRequest.go | 2 +- .../bacnetip/readwrite/model/BACnetVendorId.go | 4 +-- plc4go/protocols/bacnetip/readwrite/model/BVLC.go | 7 ++---- .../readwrite/model/MaxApduLengthAccepted.go | 2 +- .../readwrite/model/MaxSegmentsAccepted.go | 2 +- .../readwrite/model/AccessControlCommandType.go | 2 +- .../model/AccessControlCommandTypeContainer.go | 6 ++--- .../readwrite/model/AirConditioningCommandType.go | 2 +- .../model/AirConditioningCommandTypeContainer.go | 4 +-- .../cbus/readwrite/model/ApplicationIdContainer.go | 4 +-- plc4go/protocols/cbus/readwrite/model/Attribute.go | 2 +- .../readwrite/model/CALCommandTypeContainer.go | 4 +-- .../model/ClockAndTimekeepingCommandType.go | 2 +- .../ClockAndTimekeepingCommandTypeContainer.go | 4 +-- .../readwrite/model/EnableControlCommandType.go | 2 +- .../model/EnableControlCommandTypeContainer.go | 4 +-- .../readwrite/model/ErrorReportingCommandType.go | 2 +- .../model/ErrorReportingCommandTypeContainer.go | 4 +-- .../readwrite/model/LevelInformationNibblePair.go | 2 +- .../cbus/readwrite/model/LightingCommandType.go | 2 +- .../model/LightingCommandTypeContainer.go | 4 +-- .../cbus/readwrite/model/MeasurementCommandType.go | 2 +- .../model/MeasurementCommandTypeContainer.go | 4 +-- .../model/MediaTransportControlCommandType.go | 2 +- .../MediaTransportControlCommandTypeContainer.go | 4 +-- .../cbus/readwrite/model/MeteringCommandType.go | 2 +- .../model/MeteringCommandTypeContainer.go | 4 +-- plc4go/protocols/cbus/readwrite/model/Parameter.go | 12 ++++----- .../cbus/readwrite/model/ProtectionLevel.go | 2 +- .../protocols/cbus/readwrite/model/RequestType.go | 2 +- .../cbus/readwrite/model/SecurityCommandType.go | 2 +- .../model/SecurityCommandTypeContainer.go | 4 +-- .../cbus/readwrite/model/TelephonyCommandType.go | 2 +- .../model/TelephonyCommandTypeContainer.go | 4 +-- .../model/TemperatureBroadcastCommandType.go | 2 +- .../TemperatureBroadcastCommandTypeContainer.go | 4 +-- .../readwrite/model/TriggerControlCommandType.go | 2 +- .../model/TriggerControlCommandTypeContainer.go | 4 +-- .../readwrite/model/AnsiExtendedSymbolSegment.go | 7 ++---- .../protocols/eip/readwrite/model/CIPAttributes.go | 7 ++---- .../eip/readwrite/model/CIPDataTypeCode.go | 2 +- .../eip/readwrite/model/CipConnectedRequest.go | 7 ++---- .../readwrite/model/CipConnectionManagerRequest.go | 7 ++---- .../model/CipConnectionManagerResponse.go | 7 ++---- .../protocols/eip/readwrite/model/CipIdentity.go | 14 +++-------- plc4go/protocols/eip/readwrite/model/CipRRData.go | 7 ++---- .../eip/readwrite/model/CipReadRequest.go | 7 ++---- .../eip/readwrite/model/CipSecurityInformation.go | 7 ++---- .../eip/readwrite/model/CipUnconnectedRequest.go | 14 +++-------- .../eip/readwrite/model/CipWriteRequest.go | 7 ++---- .../eip/readwrite/model/ConnectedDataItem.go | 7 ++---- .../eip/readwrite/model/EipListIdentityResponse.go | 7 ++---- plc4go/protocols/eip/readwrite/model/EipPacket.go | 7 ++---- .../eip/readwrite/model/GetAttributeAllRequest.go | 7 ++---- .../eip/readwrite/model/ListServicesResponse.go | 7 ++---- .../protocols/eip/readwrite/model/SendUnitData.go | 7 ++---- plc4go/protocols/eip/readwrite/model/Services.go | 7 ++---- .../eip/readwrite/model/ServicesResponse.go | 7 ++---- .../eip/readwrite/model/UnConnectedDataItem.go | 7 ++---- .../knxnetip/readwrite/model/AccessLevel.go | 4 +-- .../readwrite/model/ApduDataMemoryResponse.go | 7 ++---- .../readwrite/model/ComObjectTableAddresses.go | 2 +- .../knxnetip/readwrite/model/ComObjectValueType.go | 2 +- .../model/ConnectionRequestInformation.go | 7 ++---- .../readwrite/model/ConnectionResponseDataBlock.go | 7 ++---- .../knxnetip/readwrite/model/DIBDeviceInfo.go | 7 ++---- .../knxnetip/readwrite/model/DIBSuppSvcFamilies.go | 7 ++---- .../model/DeviceConfigurationAckDataBlock.go | 7 ++---- .../model/DeviceConfigurationRequestDataBlock.go | 7 ++---- .../knxnetip/readwrite/model/DeviceDescriptor.go | 4 +-- .../readwrite/model/HPAIControlEndpoint.go | 7 ++---- .../knxnetip/readwrite/model/HPAIDataEndpoint.go | 7 ++---- .../readwrite/model/HPAIDiscoveryEndpoint.go | 7 ++---- .../readwrite/model/KnxDatapointMainType.go | 6 ++--- .../knxnetip/readwrite/model/KnxDatapointType.go | 6 ++--- .../readwrite/model/KnxInterfaceObjectProperty.go | 8 +++--- .../readwrite/model/KnxInterfaceObjectType.go | 4 +-- .../knxnetip/readwrite/model/KnxManufacturer.go | 4 +-- .../knxnetip/readwrite/model/KnxNetIpMessage.go | 14 +++-------- .../readwrite/model/KnxPropertyDataType.go | 6 ++--- .../knxnetip/readwrite/model/LDataExtended.go | 7 ++---- .../readwrite/model/SupportedPhysicalMedia.go | 4 +-- .../readwrite/model/TunnelingRequestDataBlock.go | 7 ++---- .../readwrite/model/TunnelingResponseDataBlock.go | 7 ++---- .../modbus/readwrite/model/ModbusDataType.go | 2 +- .../model/ModbusDeviceInformationObject.go | 7 ++---- .../model/ModbusPDUGetComEventLogResponse.go | 7 ++---- .../readwrite/model/ModbusPDUReadCoilsResponse.go | 7 ++---- .../ModbusPDUReadDeviceIdentificationResponse.go | 7 ++---- .../model/ModbusPDUReadDiscreteInputsResponse.go | 7 ++---- .../model/ModbusPDUReadFifoQueueResponse.go | 14 +++-------- .../model/ModbusPDUReadFileRecordRequest.go | 7 ++---- .../model/ModbusPDUReadFileRecordResponse.go | 7 ++---- .../model/ModbusPDUReadFileRecordResponseItem.go | 7 ++---- .../model/ModbusPDUReadHoldingRegistersResponse.go | 7 ++---- .../model/ModbusPDUReadInputRegistersResponse.go | 7 ++---- ...sPDUReadWriteMultipleHoldingRegistersRequest.go | 7 ++---- ...PDUReadWriteMultipleHoldingRegistersResponse.go | 7 ++---- .../model/ModbusPDUReportServerIdResponse.go | 7 ++---- .../model/ModbusPDUWriteFileRecordRequest.go | 7 ++---- .../model/ModbusPDUWriteFileRecordRequestItem.go | 7 ++---- .../model/ModbusPDUWriteFileRecordResponse.go | 7 ++---- .../model/ModbusPDUWriteFileRecordResponseItem.go | 7 ++---- .../model/ModbusPDUWriteMultipleCoilsRequest.go | 7 ++---- ...odbusPDUWriteMultipleHoldingRegistersRequest.go | 7 ++---- .../modbus/readwrite/model/ModbusTcpADU.go | 7 ++---- .../readwrite/model/DataChangeNotification.go | 7 ++---- .../opcua/readwrite/model/EventNotificationList.go | 7 ++---- .../protocols/opcua/readwrite/model/MessagePDU.go | 7 ++---- .../opcua/readwrite/model/NodeIdTypeDefinition.go | 2 +- .../opcua/readwrite/model/OpcuaDataType.go | 2 +- .../opcua/readwrite/model/PascalString.go | 7 ++---- .../readwrite/model/StatusChangeNotification.go | 7 ++---- .../opcua/readwrite/model/UserIdentityToken.go | 7 ++---- plc4go/protocols/s7/readwrite/model/COTPPacket.go | 7 ++---- .../protocols/s7/readwrite/model/COTPParameter.go | 7 ++---- .../protocols/s7/readwrite/model/COTPTpduSize.go | 2 +- .../s7/readwrite/model/CycServiceItemAnyType.go | 12 ++------- .../s7/readwrite/model/DataTransportSize.go | 2 +- plc4go/protocols/s7/readwrite/model/MemoryArea.go | 2 +- .../protocols/s7/readwrite/model/S7AddressAny.go | 12 ++------- plc4go/protocols/s7/readwrite/model/S7Message.go | 14 +++-------- .../readwrite/model/S7ParameterModeTransition.go | 7 ++---- .../readwrite/model/S7ParameterReadVarRequest.go | 7 ++---- .../s7/readwrite/model/S7ParameterUserData.go | 7 ++---- .../model/S7ParameterUserDataItemCPUFunctions.go | 7 ++---- .../readwrite/model/S7ParameterWriteVarRequest.go | 7 ++---- ...ayloadUserDataItemCpuFunctionAlarmAckRequest.go | 7 ++---- ...yloadUserDataItemCpuFunctionAlarmAckResponse.go | 7 ++---- .../s7/readwrite/model/S7VarPayloadDataItem.go | 7 ++---- .../model/S7VarRequestParameterItemAddress.go | 7 ++---- plc4go/protocols/s7/readwrite/model/TPKTPacket.go | 7 ++---- .../protocols/s7/readwrite/model/TransportSize.go | 22 ++++++++-------- .../readwrite/model/SimulatedDataTypeSizes.go | 2 +- plc4go/spi/codegen/io/DataWriterEnumDefault.go | 1 + plc4go/spi/codegen/io/DataWriterFactory.go | 3 +-- 160 files changed, 333 insertions(+), 662 deletions(-)