carddav: pass pointer in CreateAddressBook
The struct is a bit too large to pass by value.
This commit is contained in:
@@ -68,7 +68,7 @@ func (b *testBackend) GetAddressBook(ctx context.Context, path string) (*Address
|
||||
return nil, webdav.NewHTTPError(404, fmt.Errorf("Not found"))
|
||||
}
|
||||
|
||||
func (*testBackend) CreateAddressBook(ctx context.Context, ab AddressBook) error {
|
||||
func (*testBackend) CreateAddressBook(ctx context.Context, ab *AddressBook) error {
|
||||
panic("TODO: implement")
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user