Instructions for contributing to plaid-go. A go client library for the Plaid API. This library is fully generated from the Plaid OpenAPI spec.
This library cannot directly accept PRs from the public as it is generated from internal Plaid sources on the internal Plaid GitHub instance and any changes made directly to this repo will be overwritten. If you submit a PR and it is accepted, a member of Plaid engineering will copy and paste your change into the upstream, internal version of this repo rather than merging your PR. Plaid employees should make any changes on the internal Plaid GitHub and not on the public repo.
- To build the docker image for the client tests, run
docker build -t plaid-go .
. - Go to the Plaid Dashboard and copy and paste your
client_id
and sandboxsecret
into the following command. - Run
docker run --rm -e CLIENT_ID=$CLIENT_ID -e SECRET=$SECRET plaid-go
.
If you wish to run a single test, do something like this:
CLIENT_ID="" SECRET="" go test -v ./... -run TESTNAME