LaunchDarkly has published an SDK contributor's guide that provides a detailed explanation of how our SDKs work. See below for additional information on how to contribute to this project.
The LaunchDarkly SDK team monitors the issue tracker in tis repository. Bug reports and feature requests specific to this project should be filed in this issue tracker. The SDK team will respond to all newly filed issues within two business days. For issues or requests that are more generally related to the LaunchDarkly Go SDK, rather than specifically for the code in this repository, please use the go-server-sdk
repository.
We encourage pull requests and other contributions from the community. Before submitting pull requests, ensure that all temporary or unintended code is removed. Don't worry about adding reviewers to the pull request; the LaunchDarkly SDK team will add themselves. The SDK team will acknowledge all pull requests within two business days.
This project should be built against Go 1.8 or newer.
Note that the public import path is gopkg.in/launchdarkly/go-sdk-common.v1
(using the gopkg.in
service as a simple way to pin to a major version). Since it does not use Go modules, and it references its own import path in imports between packages, this means that in order to build it you must check it out at $GOPATH/src/gopkg.in/launchdarkly/go-sdk-common.v1
-- not $GOPATH/src/github.com/launchdarkly/go-sdk-common
.
To build the project without running any tests:
make
If you wish to clean your working directory between builds, you can clean it by running:
make clean
To run the linter:
make lint
To build and run all unit tests:
make test