no more WithData method, instead of WithJSON
This commit is contained in:
@@ -27,7 +27,7 @@ Specify source with data
|
|||||||
|
|
||||||
```go
|
```go
|
||||||
memorySource := memory.NewSource(
|
memorySource := memory.NewSource(
|
||||||
memory.WithData(data),
|
memory.WithJSON(data),
|
||||||
)
|
)
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user