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"`
|
Delete *dns.Record `json:"delete,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func convertInterfaceSliceToStruct(slice []interface{}) *[]dns.Domain {
|
func convertInterfaceSliceToStruct(slice []interface{}) *[]dns.Record {
|
||||||
var domains []dns.Domain
|
var domains []dns.Record
|
||||||
|
|
||||||
for _, domain := range slice {
|
for _, domain := range slice {
|
||||||
fmt.Println(domain)
|
fmt.Println(domain)
|
||||||
|
Reference in New Issue
Block a user