A partial go implementation of Salesforce's Lightning Platform REST API that provides create, update, delete, upsert and query commands to access/modify salesforce database tables.
Tables are modified using the SObject interface{}. Structs representing table field data that implement the SObject interface maybe created using the genpkgs module.
Create a Private Key and Self-Signed Digital Certificate
ctx := context.Background()
var contactID = "0141S0000009bv2QAA"
var contact salesforce.SObject = <your def package>.Contact{....}
sv, err := jwt.ServiceFromFile(ctx, cfg.SFCredentialFile, nil)
if err != nil {
log.Fatalf("%v", err)
}
sv.Update(ctx, contact, contactID)
### Explain single operation, collection and batch ###
* create self-signed cert
* upload to SF
* sample config
### Create Object Definitions as struct ###
* demo gen config file