by changing
|
type MX_Record struct { |
|
Ttl uint32 `json:"ttl,omitempty"` |
|
Host string `json:"host"` |
|
Preference uint16 `json:"preference"` |
|
} |
to
type MX_Record struct {
Ttl uint32 `json:"ttl,omitempty"`
Preference uint16 `json:"preference"`
Host string `json:"host"`
}
you can reduce struct of size 32 to be 24 (because of how golang allocates memory)
by changing
redins/dns_types/dns_types.go
Lines 72 to 76 in 2c66e46
to
you can reduce struct of size 32 to be 24 (because of how golang allocates memory)