Debugging the Set data struct. Fix mistyping

This commit is contained in:
2025-01-19 23:05:46 +03:00
parent 71ce454986
commit 05e035925f

View File

@ -34,8 +34,8 @@ type dnsexitDTO struct {
Delete *dns.Record `json:"delete,omitempty"`
}
func convertInterfaceSliceToStruct(slice []interface{}) *[]dns.Domain {
var domains []dns.Domain
func convertInterfaceSliceToStruct(slice []interface{}) *[]dns.Record {
var domains []dns.Record
for _, domain := range slice {
fmt.Println(domain)