https://github.com/grokify/go-salesforce
Library to download and manipulate Salesforce data on the file system
https://github.com/grokify/go-salesforce
Last synced: 12 months ago
JSON representation
Library to download and manipulate Salesforce data on the file system
- Host: GitHub
- URL: https://github.com/grokify/go-salesforce
- Owner: grokify
- License: mit
- Created: 2015-06-27T20:07:51.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2025-06-15T21:05:33.000Z (12 months ago)
- Last Synced: 2025-06-15T22:35:04.980Z (12 months ago)
- Language: Go
- Homepage:
- Size: 360 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Salesforce
[![Build Status][build-status-svg]][build-status-url]
[![Lint Status][lint-status-svg]][lint-status-url]
[![Go Report Card][goreport-svg]][goreport-url]
[![Docs][docs-godoc-svg]][docs-godoc-url]
[![License][license-svg]][license-url]
This package provides a number of Salesforce helpers in Go:
* `apex` performs Apex codegen, specifically for sending email.
* `fsdb` provides a Golang SDK and filesystem cache for Salesforce using the Salesforce REST API.
* `sobjects` provides basic structs for Salesforce.
* `workbench` provies a basic XML reader for https://workbench.developerforce.com
For OAuth 2.0 helpers for the Salesforce API, see [`goauth/salesforce`](https://github.com/grokify/goauth/tree/master/salesforce).
## Reference Files
### Entity Prefixes
The `entityprefixes.csv` file contains the prefixes from the Salesforce Standard Field Record ID Prefix Decoder, Knowledge Article Number: 000005995. This webpage is located here:
[https://help.salesforce.com/apex/HTViewSolution?urlname=Standard-Field-Record-ID-Prefix-Decoder&language=en_US](https://help.salesforce.com/apex/HTViewSolution?urlname=Standard-Field-Record-ID-Prefix-Decoder&language=en_US)
For more see Daniel Ballinger's website as mentioned by Salesforce:
* [Obscure Salesforce object key prefixes](http://www.fishofprey.com/2011/09/obscure-salesforce-object-key-prefixes.html)
## Tools
### Salesforce CLI:
* https://developer.salesforce.com/tools/sfdxcli
* https://developer.salesforce.com/docs/atlas.en-us.sfdx_setup.meta/sfdx_setup/sfdx_setup_install_cli.htm
### VS Code Extension
https://salesforcedx-vscode.netlify.app/tools/vscode/en/getting-started/install
## Contributing
Features, Issues, and Pull Requests are always welcome.
[build-status-svg]: https://github.com/grokify/go-salesforce/workflows/test/badge.svg
[build-status-url]: https://github.com/grokify/go-salesforce/actions/workflows/test.yaml
[lint-status-svg]: https://github.com/grokify/go-salesforce/workflows/lint/badge.svg
[lint-status-url]: https://github.com/grokify/go-salesforce/actions/workflows/lint.yaml
[goreport-svg]: https://goreportcard.com/badge/github.com/grokify/go-salesforce
[goreport-url]: https://goreportcard.com/report/github.com/grokify/go-salesforce
[codeclimate-status-svg]: https://codeclimate.com/github/grokify/go-salesforce/badges/gpa.svg
[codeclimate-status-url]: https://codeclimate.com/github/grokify/go-salesforce
[docs-godoc-svg]: https://pkg.go.dev/badge/github.com/grokify/go-salesforce
[docs-godoc-url]: https://pkg.go.dev/github.com/grokify/go-salesforce
[license-svg]: https://img.shields.io/badge/license-MIT-blue.svg
[license-url]: https://github.com/grokify/go-salesforce/blob/master/LICENSE