further cleanup

This commit is contained in:
Asim Aslam
2019-10-23 22:54:55 +01:00
parent 3ce71e12ff
commit 70aaca9876
3 changed files with 49 additions and 57 deletions

View File

@@ -20,16 +20,12 @@ func TestCloudflare(t *testing.T) {
randomK := strconv.Itoa(rand.Int())
randomV := strconv.Itoa(rand.Int())
wkv, err := NewStore(
wkv := NewStore(
ApiToken(apiToken),
AccountID(accountID),
Namespace(kvID),
)
if err != nil {
t.Fatal(err.Error())
}
records, err := wkv.List()
if err != nil {
t.Fatalf("List: %s\n", err.Error())