Removing .lock file and debugging code.
This commit is contained in:
parent
1d6ef1a5b9
commit
c29dd1066d
3
.gitignore
vendored
3
.gitignore
vendored
@ -16,5 +16,8 @@
|
||||
# Project-local files
|
||||
*.idea
|
||||
|
||||
# go dep lock file
|
||||
Gopkg.lock
|
||||
|
||||
# Go vendor libraries
|
||||
vendor/**/
|
||||
|
72
Gopkg.lock
generated
72
Gopkg.lock
generated
@ -1,72 +0,0 @@
|
||||
# This file is autogenerated, do not edit; changes may be undone by the next 'dep ensure'.
|
||||
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:4a28080faacdaabfe54a78ba0bfb41468744cbcda6af15748b917ca725d3749c"
|
||||
name = "github.com/pkg/errors"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "c059e472caf75dbe73903f6521a20abac245b17f"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:b44621ef75eb48a8c09e7d6ce4d3f6681534307189c9bc0267c9532094c20a2a"
|
||||
name = "github.com/r3labs/sse"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "507597500aa545836a85909d89a59e50d260f366"
|
||||
|
||||
[[projects]]
|
||||
branch = "master"
|
||||
digest = "1:fbdbb6cf8db3278412c9425ad78b26bb8eb788181f26a3ffb3e4f216b314f86a"
|
||||
name = "golang.org/x/net"
|
||||
packages = [
|
||||
"context",
|
||||
"idna",
|
||||
"publicsuffix",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "26e67e76b6c3f6ce91f7c52def5af501b4e0f3a2"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:5acd3512b047305d49e8763eef7ba423901e85d5dd2fd1e71778a0ea8de10bd4"
|
||||
name = "golang.org/x/text"
|
||||
packages = [
|
||||
"collate",
|
||||
"collate/build",
|
||||
"internal/colltab",
|
||||
"internal/gen",
|
||||
"internal/tag",
|
||||
"internal/triegen",
|
||||
"internal/ucd",
|
||||
"language",
|
||||
"secure/bidirule",
|
||||
"transform",
|
||||
"unicode/bidi",
|
||||
"unicode/cldr",
|
||||
"unicode/norm",
|
||||
"unicode/rangetable",
|
||||
]
|
||||
pruneopts = ""
|
||||
revision = "f21a4dfb5e38f5895301dc265a8def02365cc3d0"
|
||||
version = "v0.3.0"
|
||||
|
||||
[[projects]]
|
||||
digest = "1:1cf61f0228e64d1bfddaa42bfd1f5047ed3626925b9bea69bbcb9168472dae23"
|
||||
name = "gopkg.in/cenkalti/backoff.v1"
|
||||
packages = ["."]
|
||||
pruneopts = ""
|
||||
revision = "61153c768f31ee5f130071d08fc82b85208528de"
|
||||
version = "v1.1.0"
|
||||
|
||||
[solve-meta]
|
||||
analyzer-name = "dep"
|
||||
analyzer-version = 1
|
||||
input-imports = [
|
||||
"github.com/pkg/errors",
|
||||
"github.com/r3labs/sse",
|
||||
"golang.org/x/net/publicsuffix",
|
||||
]
|
||||
solver-name = "gps-cdcl"
|
||||
solver-version = 1
|
@ -17,7 +17,6 @@
|
||||
package arlo
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"time"
|
||||
|
||||
"github.com/pkg/errors"
|
||||
@ -122,8 +121,6 @@ func (a *Arlo) DeleteRecording(r *Recording) error {
|
||||
func (a *Arlo) BatchDeleteRecordings(l *Library) error {
|
||||
|
||||
body := map[string]Library{"data": *l}
|
||||
fmt.Printf("%+v\n", body)
|
||||
return nil
|
||||
//resp, err := a.post(LibraryRecycleUri, "", body, nil)
|
||||
//return checkRequest(resp, err, "failed to delete recordings")
|
||||
resp, err := a.post(LibraryRecycleUri, "", body, nil)
|
||||
return checkRequest(resp, err, "failed to delete recordings")
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user