nimajalali / Go Force
Licence: mit
Go (golang) library for calling Salesforce.com (force.com) web api's
Stars: ✭ 111
Labels
Projects that are alternatives of or similar to Go Force
Tooling Force.com
Work with force.com Tooling/Meta API from various command line tools and editor plugins like vim-force.com.
Stars: ✭ 58 (-47.75%)
Mutual labels: salesforce
Apextestkit
A way to simplify your Salesforce data creation.
Stars: ✭ 80 (-27.93%)
Mutual labels: salesforce
Easy Spaces Lwc
Sample application for Lightning Web Components on Salesforce Platform. Part of the sample gallery. Event management use case. Get inspired and learn best practices.
Stars: ✭ 104 (-6.31%)
Mutual labels: salesforce
Lwc Recipes
A collection of easy-to-digest code examples for Lightning Web Components on Salesforce Platform
Stars: ✭ 1,147 (+933.33%)
Mutual labels: salesforce
Zksforce
Cocoa library for calling the Salesforce.com Web Services API
Stars: ✭ 77 (-30.63%)
Mutual labels: salesforce
Awesome Low Code
Awesome Low-Code Application Platforms | 全球低代码平台开发资源大全
Stars: ✭ 90 (-18.92%)
Mutual labels: salesforce
Simple Salesforce
A very simple Salesforce.com REST API client for Python
Stars: ✭ 1,072 (+865.77%)
Mutual labels: salesforce
Sfdc Lax
The service Lightning Component to write a clear asynchronous JavaScript code
Stars: ✭ 109 (-1.8%)
Mutual labels: salesforce
Query.apex
A dynamic SOQL and SOSL query builder on Salesforce.com platform
Stars: ✭ 78 (-29.73%)
Mutual labels: salesforce
Rflib
Salesforce open source library with logging framework, trigger framework, feature switches, and advanced monitoring capabilities
Stars: ✭ 69 (-37.84%)
Mutual labels: salesforce
Sfdc Convert Attachments To Chatter Files
📎 Easily migrate your Attachments to Salesforce Files.
Stars: ✭ 72 (-35.14%)
Mutual labels: salesforce
Lightningexamples
Examples of Salesforce Lightning Components
Stars: ✭ 90 (-18.92%)
Mutual labels: salesforce
Purealoe
Salesforce Sample App part of the sample gallery. Agriculture and retail use case. Get inspired and learn best practices.
Stars: ✭ 65 (-41.44%)
Mutual labels: salesforce
Force Dev Tool
[DEPRECATED] Command line tool supporting the Force.com development lifecycle
Stars: ✭ 106 (-4.5%)
Mutual labels: salesforce
Salesforcedx Docker
The official Dockerfile for Salesforce DX
Stars: ✭ 56 (-49.55%)
Mutual labels: salesforce
Policy sentry
IAM Least Privilege Policy Generator
Stars: ✭ 1,284 (+1056.76%)
Mutual labels: salesforce
Sfdc Ui Lookup
Salesforce Lookup Component (Aura version, maintenance only, see LWC version for updates)
Stars: ✭ 94 (-15.32%)
Mutual labels: salesforce
go-force
Golang API wrapper for Force.com, Salesforce.com
Installation
go get github.com/nimajalali/go-force/force
Example
package main
import (
"fmt"
"log"
"github.com/nimajalali/go-force/force"
"github.com/nimajalali/go-force/sobjects"
)
type SomeCustomSObject struct {
sobjects.BaseSObject
Active bool `force:"Active__c"`
AccountId string `force:"Account__c"`
}
func (t *SomeCustomSObject) ApiName() string {
return "SomeCustomObject__c"
}
type SomeCustomSObjectQueryResponse struct {
sobjects.BaseQuery
Records []*SomeCustomSObject `force:"records"`
}
func main() {
// Init the force
forceApi, err := force.Create(
"YOUR-API-VERSION",
"YOUR-CLIENT-ID",
"YOUR-CLIENT-SECRET",
"YOUR-USERNAME",
"YOUR-PASSWORD",
"YOUR-SECURITY-TOKEN",
"YOUR-ENVIRONMENT",
)
if err != nil {
log.Fatal(err)
}
// Get somCustomSObject by ID
someCustomSObject := &SomeCustomSObject{}
err = forceApi.GetSObject("Your-Object-ID", nil, someCustomSObject)
if err != nil {
fmt.Println(err)
}
fmt.Printf("%#v", someCustomSObject)
// Query
someCustomSObjects := &SomeCustomSObjectQueryResponse{}
err = forceApi.Query("SELECT Id FROM SomeCustomSObject__c LIMIT 10", someCustomSObjects)
if err != nil {
fmt.Println(err)
}
fmt.Printf("%#v", someCustomSObjects)
}
Documentation
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].