mirror of
https://github.com/1f349/go-webdav.git
synced 2024-12-22 16:24:14 +00:00
internal: use Namespace instead of "DAV:"
This commit is contained in:
parent
1c71a7a1c4
commit
55a9274ba6
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user