From 1406b6a193b4ccca9747c1ab9307e927aabb3844 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Vaupoti=C4=8D?= Date: Tue, 1 Oct 2019 19:39:20 +0200 Subject: [PATCH] WriteConfig should be SetConfig The leading text suggests use of SetConfig but code contains WriteConfig --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3179809..88f6d19 100644 --- a/README.md +++ b/README.md @@ -576,7 +576,7 @@ var config buntdb.Config if err := db.ReadConfig(&config); err != nil{ log.Fatal(err) } -if err := db.WriteConfig(config); err != nil{ +if err := db.SetConfig(config); err != nil{ log.Fatal(err) } ```