From b7cdff9649eb05f97bd5345476dd4d8d5bd5e746 Mon Sep 17 00:00:00 2001 From: "Kyle Capehart (Huntersville)" Date: Mon, 1 Apr 2024 11:58:08 -0400 Subject: [PATCH] update readme --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9df6978..a5be386 100644 --- a/README.md +++ b/README.md @@ -79,7 +79,8 @@ type Opportunity struct { ```go opps := []Opportunity{} -err := sf.Query("SELECT Id, Name, StageName FROM Opportunity WHERE StageName = 'Prospecting'", &opps) +queryString := "SELECT Id, Name, StageName FROM Opportunity WHERE StageName = 'Prospecting'" +err := sf.Query(queryString, &opps) if err != nil { fmt.Println(err) } else {