Skip to content

Commit a9eb8ce

Browse files
chore: update dependancies
1 parent 9ba1411 commit a9eb8ce

File tree

4 files changed

+109
-31
lines changed

4 files changed

+109
-31
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,15 @@
33
An example app built using the [DevCycle Go Server SDK](https://docs.devcycle.com/sdk/server-side-sdks/go/) with local bucketing
44

55
## Creating a Demo Feature
6+
67
This example app requires that your project has a feature with the expected variables, as well as some simple targeting rules.
78

89
#### [Click here](https://app.devcycle.com/r/create?resource=feature&key=hello-togglebot) to automatically create the feature in your project ⇦
910

1011
When you run the example app and switch your identity between users, you'll be able to see the feature's different variations.
1112

1213
## Running the Example
14+
1315
### Setup
1416

1517
* Run `go mod download` in the project directory to install dependencies
@@ -25,4 +27,5 @@ Runs the app in the development mode.\
2527
Requests may be sent to [http://localhost:8000](http://localhost:8000).
2628

2729
## Documentation
30+
2831
For more information about using the DevCycle Go Server SDK, see [the documentation](https://docs.devcycle.com/sdk/server-side-sdks/go/)

devcycle.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,8 @@ func initalizeDevCycle() *devcycle.Client {
1919
}
2020

2121
options := devcycle.Options{
22-
EnableEdgeDB: false,
23-
EnableCloudBucketing: false,
2422
EventFlushIntervalMS: 5 * time.Second,
25-
ConfigPollingIntervalMS: 5 * time.Second,
2623
RequestTimeout: 30 * time.Second,
27-
DisableAutomaticEventLogging: false,
28-
DisableCustomEventLogging: false,
2924
}
3025

3126
client, err := devcycle.NewClient(sdkKey, &options)

go.mod

Lines changed: 33 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,53 @@
11
module github.com/devcyclehq-labs/example-openfeature-go
22

3-
go 1.21
3+
go 1.23.0
4+
5+
toolchain go1.24.0
46

57
require (
6-
github.com/devcyclehq/go-server-sdk/v2 v2.11.2
7-
github.com/gin-gonic/gin v1.9.1
8+
github.com/devcyclehq/go-server-sdk/v2 v2.19.0
9+
github.com/gin-gonic/gin v1.10.0
810
github.com/joho/godotenv v1.5.1
11+
github.com/open-feature/go-sdk v1.14.1
912
)
1013

1114
require (
1215
github.com/bytecodealliance/wasmtime-go/v6 v6.0.0 // indirect
13-
github.com/bytedance/sonic v1.9.1 // indirect
14-
github.com/chenzhuoyu/base64x v0.0.0-20221115062448-fe3a3abad311 // indirect
15-
github.com/gabriel-vasile/mimetype v1.4.2 // indirect
16-
github.com/gin-contrib/sse v0.1.0 // indirect
17-
github.com/go-logr/logr v1.2.4 // indirect
16+
github.com/bytedance/sonic v1.12.9 // indirect
17+
github.com/bytedance/sonic/loader v0.2.3 // indirect
18+
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect
19+
github.com/cloudwego/base64x v0.1.5 // indirect
20+
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
21+
github.com/gin-contrib/sse v1.0.0 // indirect
22+
github.com/go-logr/logr v1.4.2 // indirect
1823
github.com/go-playground/locales v0.14.1 // indirect
1924
github.com/go-playground/universal-translator v0.18.1 // indirect
20-
github.com/go-playground/validator/v10 v10.14.0 // indirect
21-
github.com/goccy/go-json v0.10.2 // indirect
22-
github.com/google/uuid v1.3.0 // indirect
23-
github.com/jarcoal/httpmock v1.2.0 // indirect
25+
github.com/go-playground/validator/v10 v10.25.0 // indirect
26+
github.com/goccy/go-json v0.10.5 // indirect
27+
github.com/google/uuid v1.6.0 // indirect
28+
github.com/jarcoal/httpmock v1.3.1 // indirect
2429
github.com/jolestar/go-commons-pool/v2 v2.1.2 // indirect
2530
github.com/json-iterator/go v1.1.12 // indirect
26-
github.com/klauspost/cpuid/v2 v2.2.4 // indirect
31+
github.com/klauspost/cpuid/v2 v2.2.9 // indirect
2732
github.com/kr/pretty v0.3.1 // indirect
28-
github.com/leodido/go-urn v1.2.4 // indirect
33+
github.com/kr/text v0.2.0 // indirect
34+
github.com/launchdarkly/eventsource v1.8.0 // indirect
35+
github.com/leodido/go-urn v1.4.0 // indirect
2936
github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2 // indirect
30-
github.com/mattn/go-isatty v0.0.19 // indirect
37+
github.com/mattn/go-isatty v0.0.20 // indirect
3138
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
3239
github.com/modern-go/reflect2 v1.0.2 // indirect
33-
github.com/open-feature/go-sdk v1.8.0 // indirect
34-
github.com/pelletier/go-toml/v2 v2.0.8 // indirect
40+
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
41+
github.com/rogpeppe/go-internal v1.9.0 // indirect
3542
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
36-
github.com/twmb/murmur3 v1.1.7 // indirect
37-
github.com/ugorji/go/codec v1.2.11 // indirect
38-
golang.org/x/arch v0.3.0 // indirect
39-
golang.org/x/crypto v0.17.0 // indirect
40-
golang.org/x/exp v0.0.0-20230811145659-89c5cff77bcb // indirect
41-
golang.org/x/net v0.10.0 // indirect
42-
golang.org/x/sys v0.15.0 // indirect
43-
golang.org/x/text v0.14.0 // indirect
44-
google.golang.org/protobuf v1.30.0 // indirect
43+
github.com/twmb/murmur3 v1.1.8 // indirect
44+
github.com/ugorji/go/codec v1.2.12 // indirect
45+
golang.org/x/arch v0.14.0 // indirect
46+
golang.org/x/crypto v0.34.0 // indirect
47+
golang.org/x/exp v0.0.0-20250218142911-aa4b98e5adaa // indirect
48+
golang.org/x/net v0.35.0 // indirect
49+
golang.org/x/sys v0.30.0 // indirect
50+
golang.org/x/text v0.22.0 // indirect
51+
google.golang.org/protobuf v1.36.5 // indirect
4552
gopkg.in/yaml.v3 v3.0.1 // indirect
4653
)

0 commit comments

Comments
 (0)