all: use variables for xml.Name values
This commit is contained in:
@@ -6,15 +6,11 @@ import (
|
||||
"github.com/emersion/go-vcard"
|
||||
)
|
||||
|
||||
const namespace = "urn:ietf:params:xml:ns:carddav"
|
||||
|
||||
type AddressBook struct {
|
||||
Href string
|
||||
Description string
|
||||
}
|
||||
|
||||
var addressBookName = xml.Name{namespace, "addressbook"}
|
||||
|
||||
type AddressBookQuery struct {
|
||||
Props []string
|
||||
}
|
||||
|
Reference in New Issue
Block a user