fmt
This commit is contained in:
parent
d002be5074
commit
46bd8fb68a
@ -59,7 +59,7 @@ type response struct {
|
|||||||
Props []props `xml:"DAV: propstat"`
|
Props []props `xml:"DAV: propstat"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func getProps(r *response, status string) (*props) {
|
func getProps(r *response, status string) *props {
|
||||||
for _, prop := range r.Props {
|
for _, prop := range r.Props {
|
||||||
if strings.Index(prop.Status, status) != -1 {
|
if strings.Index(prop.Status, status) != -1 {
|
||||||
return &prop
|
return &prop
|
||||||
|
Loading…
Reference in New Issue
Block a user