Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
asdine committed Oct 23, 2020
1 parent 55bb3fe commit 08dddc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion document/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import (

// NewFromJSON creates a document from raw JSON data.
// The returned document will lazily decode the data.
// If data is not a valid json object, calls to Iterate of GetByField will
// If data is not a valid json object, calls to Iterate or GetByField will
// return an error.
func NewFromJSON(data []byte) Document {
return &jsonEncodedDocument{data}
Expand Down

0 comments on commit 08dddc3

Please sign in to comment.