Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
pgollangi committed Dec 30, 2022
1 parent 974275d commit 3494e14
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,12 @@ import (
func main() {
fql, err := fireql.New("<GCP_PROJECT_ID>")
//OR
fql, err = fireql.New("<GCP_PROJECT_ID>",
fireql.OptionServiceAccount("<SERVICE_ACCOUNT_JSON>"))
fql, err = fireql.New("<GCP_PROJECT_ID>", fireql.OptionServiceAccount("<SERVICE_ACCOUNT_JSON>"))
if err != nil {
panic(err)
}

result, err := fql.
Execute("SELECT * `users` order by id desc limit 10")
result, err := fql.Execute("SELECT * `users` order by id desc limit 10")
if err != nil {
panic(err)
}
Expand Down

0 comments on commit 3494e14

Please sign in to comment.