Merge pull request #658 from XiaoLer/patch-1

no more `WithData` method, instead of  `WithJSON`
This commit is contained in:
Asim Aslam 2019-08-09 11:37:35 +01:00 committed by GitHub
commit 057adb2b2e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ Specify source with data
```go
memorySource := memory.NewSource(
memory.WithData(data),
memory.WithJSON(data),
)
```