internal: use Namespace instead of "DAV:"

This commit is contained in:
Simon Ser 2022-05-31 17:10:30 +02:00
parent 1c71a7a1c4
commit 55a9274ba6

View File

@ -14,14 +14,14 @@ import (
const Namespace = "DAV:" const Namespace = "DAV:"
var ( var (
ResourceTypeName = xml.Name{"DAV:", "resourcetype"} ResourceTypeName = xml.Name{Namespace, "resourcetype"}
DisplayNameName = xml.Name{"DAV:", "displayname"} DisplayNameName = xml.Name{Namespace, "displayname"}
GetContentLengthName = xml.Name{"DAV:", "getcontentlength"} GetContentLengthName = xml.Name{Namespace, "getcontentlength"}
GetContentTypeName = xml.Name{"DAV:", "getcontenttype"} GetContentTypeName = xml.Name{Namespace, "getcontenttype"}
GetLastModifiedName = xml.Name{"DAV:", "getlastmodified"} GetLastModifiedName = xml.Name{Namespace, "getlastmodified"}
GetETagName = xml.Name{"DAV:", "getetag"} GetETagName = xml.Name{Namespace, "getetag"}
CurrentUserPrincipalName = xml.Name{"DAV:", "current-user-principal"} CurrentUserPrincipalName = xml.Name{Namespace, "current-user-principal"}
) )
type Status struct { type Status struct {