You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CONTRIBUTING.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,9 +14,7 @@ We encourage pull requests and other contributions from the community. Before su
14
14
15
15
### Prerequisites
16
16
17
-
This project should be built against Go 1.13 or newer.
18
-
19
-
Note that the base import path is `gopkg.in/launchdarkly/go-sdk-common.v2`, not `github.com/launchdarkly/go-sdk-common`; all references in this code to other packages within the repository must use that same base import path. This ensures that the package can be referenced not only as a Go module, but also by projects that use older tools like `dep` and `govendor`, because the 5.x release of the Go SDK supports either module or non-module usage. Future releases of this package, and of the Go SDK, may drop support for non-module usage.
17
+
This project should be built against the lowest supported Go version as described in [README.md](./README.md).
Copy file name to clipboardExpand all lines: Makefile
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -31,10 +31,12 @@ clean:
31
31
go clean
32
32
33
33
test: build
34
-
go test -race -v ./...
34
+
go test -run=not-a-real-test ./... # just ensures that the tests compile
35
+
go test -race ./...
35
36
36
37
test-easyjson: build-easyjson
37
-
go test -tags $(EASYJSON_TAG) -race -v ./...
38
+
go test -run=not-a-real-test -tags $(EASYJSON_TAG) ./... # just ensures that the tests compile
39
+
go test -tags $(EASYJSON_TAG) -race ./...
38
40
39
41
test-coverage: $(COVERAGE_PROFILE_RAW)
40
42
go run github.com/launchdarkly-labs/go-coverage-enforcer@latest $(COVERAGE_ENFORCER_FLAGS) -outprofile $(COVERAGE_PROFILE_FILTERED)$(COVERAGE_PROFILE_RAW)
This repository contains packages and types that are shared between the [LaunchDarkly Go SDK](https://github.com/launchdarkly/go-server-sdk) and other LaunchDarkly Go components.
8
8
9
-
Applications using the LaunchDarkly Go SDK will generally use the `lduser` subpackage, which contains the `User` type, and may also use the `ldvalue` package, which contains the `Value` type that represents arbitrary JSON values. Other packages are less frequently used.
10
-
11
-
Note that the base import path is `gopkg.in/launchdarkly/go-sdk-common.v2`, not `github.com/launchdarkly/go-sdk-common`. This ensures that the package can be referenced not only as a Go module, but also by projects that use older tools like `dep` and `govendor`, because the 5.x release of the Go SDK supports either module or non-module usage. Future releases of this package, and of the Go SDK, may drop support for non-module usage.
12
-
13
-
Also, unlike `go-server-sdk` this does not have `server` in the name, because nothing in this repository is specific to the LaunchDarkly server-side model; it could be used in a client-side context.
9
+
Applications using the LaunchDarkly Go SDK will generally use the `ldcontext` subpackage, which contains the `Context` type, and may also use the `ldvalue` package, which contains the `Value` type that represents arbitrary JSON values. Other packages are less frequently used.
14
10
15
11
## Supported Go versions
16
12
17
-
This version of the project has been tested with Go 1.14 and higher.
13
+
This version of the project has been tested with Go 1.16 and higher.
18
14
19
15
## Integration with easyjson
20
16
@@ -24,7 +20,7 @@ If you do not set the `launchdarkly_easyjson` build tag, `go-sdk-common` does no
24
20
25
21
## Learn more
26
22
27
-
Check out our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for the Go SDK](http://docs.launchdarkly.com/docs/go-sdk-reference), or the [generated API documentation](https://godoc.org/gopkg.in/launchdarkly/go-sdk-common.v2) for this project.
23
+
Check out our [documentation](http://docs.launchdarkly.com) for in-depth instructions on configuring and using LaunchDarkly. You can also head straight to the [complete reference guide for the Go SDK](http://docs.launchdarkly.com/docs/go-sdk-reference), or the [generated API documentation](https://godoc.org/github.com/launchdarkly/go-sdk-common/v3) for this project.
0 commit comments