GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - hexuejian/go-sfdc: salesforce sfdc api

BranchesTags
Open more actions menu

Latest commit

 

History

2 Commits
2 Commits

Folders and files

NameName
Last commit message
Last commit date
bulk
bulk
 
 
composite
composite
 
 
credentials
credentials
 
 
session
session
 
 
sobject
sobject
 
 
soql
soql
 
 
wetest
wetest
 
 
.gitignore
.gitignore
 
 
LICENSE.txt
LICENSE.txt
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
config.go
config.go
 
 
error.go
error.go
 
 
error_test.go
error_test.go
 
 
go.mod
go.mod
 
 
record.go
record.go
 
 
record_test.go
record_test.go
 
 
time.go
time.go
 
 
time_test.go
time_test.go
 
 

Repository files navigation

go-sfdc

This is a golang library for interfacing with Salesforce APIs.

Getting Started

Installing

To start using GO-SFDC, install GO and run go get

go get -u github.com/g8rswimmer/go-sfdc

This will retrieve the library.

Usage

To use this library, the following will need to be done.

  • Create Salesforce credentials to properly authenticate with the Salesforce org
  • Configure
  • Open a session
  • Use the APIs
    • SObject APIs
    • SObject Collection APIs
    • SObject Tree API
    • SOQL APIs
    • Composite
    • Composite Batch
    • Bulk 2.0

Configuration

The configuration defines several parameters that can be used by the library. The configuration is used per session.

  • Credentials - this is an implementation of the credentials.Provider interface
  • Client - the HTTP client used by the APIs
  • Version - is the Salesforce version. Please refer to Salesforce documentation to make sure that APIs are supported in the version that is specified.

Example

config := sfdc.Configuration{
	Credentials: credentials.NewPasswordCredentials(creds),
	Client:      salesforceHTTPClient,
	Version:     44,
}

License

GO-SFDC source code is available under the MIT License

About

salesforce sfdc api

Resources

Readme
MIT license
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.