Debugging the Set data struct. Fix mistyping
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user