Skip to content

Commit

Permalink
fixes linting error
Browse files Browse the repository at this point in the history
  • Loading branch information
mchmarny committed Mar 22, 2022
1 parent 77c4825 commit 1348abe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
RELEASE_VERSION ?=v0.3.2
RELEASE_VERSION ?=v0.3.3
EMULATOR_IMAGE ?=ghcr.io/mchmarny/firestore-emulator:v0.3.2
EMULATOR_HOST ?=localhost
EMULATOR_PORT ?=8888
Expand Down
2 changes: 1 addition & 1 deletion query.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func Query[T any](ctx context.Context, client *firestore.Client, c *Criteria) ([
return ToStructs[T](it)
}

// ToStructs converst the Firestore document iterator into a slice of structs.
// ToStructs converts the Firestore document iterator into a slice of structs.
func ToStructs[T any](it *firestore.DocumentIterator) ([]*T, error) {
if it == nil {
return nil, errors.Errorf("valid iterator required")
Expand Down

0 comments on commit 1348abe

Please sign in to comment.