You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
webdav.File implementers can optionally implement webdav.DeadPropsHolder interface.I f you try to implement that interface, you have to use xml.Name as the key to map[xml.Name]webdav.Property, which is an internal package: golang.org/x/net/webdav/internal/xml. You can't reach that package outside of the webdav package.
/CC: @nigeltao
The text was updated successfully, but these errors were encountered:
igungor
changed the title
x/net/webdav: Can not set DeadProps
x/net/webdav: DeadPropsHolder interface is not possible to be implemented
Apr 5, 2016
In particular, the Property and DeadPropsHolder types need to refer to
the standard xml package, not the internal fork, to be usable by other
packages.
Inside the package, the XML marshaling and unmarshaling is still done by
the etc/internal/xml package, and will remain that way until
golang/go#13400 is resolved.
Fixesgolang/go#15128.
Change-Id: Ie7e7927d8b30d97d10b1a4a654d774fdf3e7a1e3
Reviewed-on: https://go-review.googlesource.com/21635
Reviewed-by: Andrew Gerrand <adg@golang.org>
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I'm using go 1.6, x/net/webdav: golang/net@d75b190
goenv:
GOARCH="amd64" GOBIN="" GOEXE="" GOHOSTARCH="amd64" GOHOSTOS="darwin" GOOS="darwin" GOPATH="/Users/ibrahim" GORACE="" GOROOT="/usr/local/go" GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64" GO15VENDOREXPERIMENT="1" CC="clang" GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fno-common" CXX="clang++" CGO_ENABLED="1"
webdav.File implementers can optionally implement webdav.DeadPropsHolder interface.I f you try to implement that interface, you have to use
xml.Name
as the key tomap[xml.Name]webdav.Property
, which is an internal package:golang.org/x/net/webdav/internal/xml
. You can't reach that package outside of the webdav package./CC: @nigeltao
The text was updated successfully, but these errors were encountered: