From 0096a76863a297da066477b7f2a17e2d07c6d4dc Mon Sep 17 00:00:00 2001 From: Hugo Landau Date: Mon, 8 Dec 2014 06:08:11 +0000 Subject: [PATCH] remove old rawvalue --- ncdomain/convert.go | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/ncdomain/convert.go b/ncdomain/convert.go index 448096f..05f4e1c 100644 --- a/ncdomain/convert.go +++ b/ncdomain/convert.go @@ -315,27 +315,6 @@ func (v *Value) findSubdomainByName(subdomain string) (*Value, error) { return nil, fmt.Errorf("subdomain part not found: %s", head) } -type rawValue_old struct { - IP interface{} `json:"ip"` - IP6 interface{} `json:"ip6"` - NS interface{} `json:"ns"` - nsSet map[string]struct{} - DNS interface{} `json:"dns"` // actually an alias for NS - Alias interface{} `json:"alias"` - Translate interface{} `json:"translate"` - DS interface{} `json:"ds"` - TXT interface{} `json:"txt"` - Hostmaster interface{} `json:"email"` // Hostmaster - MX interface{} `json:"mx"` - TLSA interface{} `json:"tls"` - - Map json.RawMessage `json:"map"` - - Service interface{} `json:"service"` - Import interface{} `json:"import"` - Delegate interface{} `json:"delegate"` -} - type ResolveFunc func(name string) (string, error) type ErrorFunc func(err error, isWarning bool)