Make every struct have a header header and not inherit the header

This commit is contained in:
PhatPhuckDave
2024-07-22 22:51:41 +02:00
parent 98fb872fc1
commit abfba3b5a7
12 changed files with 23 additions and 23 deletions

View File

@@ -2,7 +2,7 @@ package pdu
type (
BIND struct {
PDU_HEADER
header PDU_HEADER
system_id string
password string
system_type string
@@ -12,7 +12,7 @@ type (
address_range string
}
BIND_RESP struct {
PDU_HEADER
header PDU_HEADER
system_id string
sc_interface_version uint8
}
@@ -34,11 +34,11 @@ type (
BIND_TRANSCIEVER_RESP struct {
BIND_RESP
}
UNBIND struct {
PDU_HEADER
}
UNBIND_RESP struct {
PDU_HEADER
}
)
)