no more WithData method, instead of WithJSON

This commit is contained in:
刘小乐 2019-08-09 12:45:59 +08:00 committed by GitHub
parent 37988b596d
commit 7bd6d1b549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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