Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
k-capehart committed Mar 29, 2024
1 parent 4631acb commit 87e63d1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ type Creds struct {
#### Username-Password Flow
- [Create a Connected App in your Salesforce org](https://help.salesforce.com/s/articleView?id=sf.connected_app_create.htm&type=5)

Example:

```go
sf := salesforce.Init(salesforce.Creds{
Domain: DOMAIN,
Expand Down Expand Up @@ -72,6 +74,8 @@ type QueryResponse struct {

`func (sf *Salesforce) Query(query string) *QueryResponse {}`

Example:

```go
type Opportunity struct {
Id string
Expand Down

0 comments on commit 87e63d1

Please sign in to comment.