From 7bd6d1b549063b9073dfc4dea854139f6920d57b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=B0=8F=E4=B9=90?= Date: Fri, 9 Aug 2019 12:45:59 +0800 Subject: [PATCH] no more `WithData` method, instead of `WithJSON` --- config/source/memory/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/source/memory/README.md b/config/source/memory/README.md index 2c8038d8..7f1a4008 100644 --- a/config/source/memory/README.md +++ b/config/source/memory/README.md @@ -27,7 +27,7 @@ Specify source with data ```go memorySource := memory.NewSource( - memory.WithData(data), + memory.WithJSON(data), ) ```