Skip to content

Commit

Permalink
chore: Fix makefile syntax issue. (#237)
Browse files Browse the repository at this point in the history
BEGIN_COMMIT_OVERRIDE
chore: Fix makefile syntax issue.
chore: Fix TestTracker_LatencyMeasuredIfNotProvided test.
feat: Update minimum go version to 1.20.
END_COMMIT_OVERRIDE
  • Loading branch information
kinyoklion authored Jan 22, 2025
1 parent c9c8db9 commit 46c9694
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 64 deletions.
2 changes: 1 addition & 1 deletion .github/variables/go-versions.env
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
latest=1.23
penultimate=1.22
min=1.18
min=1.20
32 changes: 16 additions & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -57,56 +57,56 @@ sdk-lint:

ldotel:
@if [ -f go.work ]; then \
echo "Building ldotel with workspace" \
echo "Building ldotel with workspace"; \
go build ./ldotel; \
else \
echo "Building ldotel without workspace" \
echo "Building ldotel without workspace"; \
cd ldotel && go build .; \
fi

ldotel-test:
@if [ -f go.work ]; then \
echo "Testing ldotel with workspace" \
echo "Testing ldotel with workspace"; \
go test -v -race ./ldotel; \
else \
echo "Testing ldotel without workspace" \
echo "Testing ldotel without workspace"; \
cd ldotel && go test -v -race .; \
fi

ldotel-lint:
ldotel-lint: $(LINTER_VERSION_FILE)
@if [ -f go.work ]; then \
echo "Linting ldotel with workspace" \
echo "Linting ldotel with workspace"; \
$(LINTER) run ./ldotel; \
else \
echo "Linting ldotel without workspace" \
cd ldotel && $(LINTER) run .; \
echo "Linting ldotel without workspace"; \
cd ldotel && ../$(LINTER) run .; \
fi

ldai:
@if [ -f go.work ]; then \
echo "Building ldai with workspace" \
echo "Building ldai with workspace"; \
go build ./ldai; \
else \
echo "Building ldai without workspace" \
echo "Building ldai without workspace"; \
cd ldai && go build .; \
fi

ldai-test:
@if [ -f go.work ]; then \
echo "Testing ldai with workspace" \
echo "Testing ldai with workspace"; \
go test -v -race ./ldai; \
else \
echo "Testing ldai without workspace" \
echo "Testing ldai without workspace"; \
cd ldai && go test -v -race .; \
fi

ldai-lint:
ldai-lint: $(LINTER_VERSION_FILE)
@if [ -f go.work ]; then \
echo "Linting ldai with workspace" \
echo "Linting ldai with workspace"; \
$(LINTER) run ./ldai; \
else \
echo "Linting ldai without workspace" \
cd ldai && $(LINTER) run .; \
echo "Linting ldai without workspace"; \
cd ldai && ../$(LINTER) run .; \
fi


Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/launchdarkly/go-server-sdk/v7

go 1.18
go 1.20

require (
github.com/fsnotify/fsnotify v1.4.7
Expand Down
2 changes: 1 addition & 1 deletion ldai/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"github.com/launchdarkly/go-server-sdk/ldai/datamodel"

"github.com/alexkappa/mustache"

"github.com/launchdarkly/go-sdk-common/v3/ldcontext"
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/launchdarkly/go-server-sdk/v7/interfaces"
Expand Down Expand Up @@ -69,7 +70,6 @@ func (c *Client) Config(
defaultValue Config,
variables map[string]interface{},
) (Config, *Tracker) {

result, _ := c.sdk.JSONVariation(key, context, defaultValue.AsLdValue())

// The spec requires the config to at least be an object (although all properties are optional, so it may be an
Expand Down
5 changes: 3 additions & 2 deletions ldai/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,14 @@ import (

"github.com/launchdarkly/go-server-sdk/ldai/datamodel"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/launchdarkly/go-sdk-common/v3/ldcontext"
"github.com/launchdarkly/go-sdk-common/v3/ldlog"
"github.com/launchdarkly/go-sdk-common/v3/ldlogtest"
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/launchdarkly/go-server-sdk/v7/interfaces"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

type mockServerSDK struct {
Expand Down
5 changes: 3 additions & 2 deletions ldai/config.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
package ldai

import (
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/launchdarkly/go-server-sdk/ldai/datamodel"
"golang.org/x/exp/maps"
"golang.org/x/exp/slices"

"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/launchdarkly/go-server-sdk/ldai/datamodel"
)

// Config represents an AI config.
Expand Down
4 changes: 2 additions & 2 deletions ldai/go.mod
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
module github.com/launchdarkly/go-server-sdk/ldai

go 1.18
go 1.20

require (
github.com/alexkappa/mustache v1.0.0
github.com/launchdarkly/go-sdk-common/v3 v3.2.0
github.com/launchdarkly/go-server-sdk/v7 v7.7.0
github.com/stretchr/testify v1.9.0
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa
)

require (
Expand All @@ -17,6 +18,5 @@ require (
github.com/launchdarkly/go-sdk-events/v3 v3.4.0 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
34 changes: 27 additions & 7 deletions ldai/tracker.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,12 @@ const (
generation = "$ld:ai:generation"
generationSuccess = "$ld:ai:generation:success"
generationError = "$ld:ai:generation:error"
tokenTotal = "$ld:ai:tokens:total"
tokenInput = "$ld:ai:tokens:input"
tokenOutput = "$ld:ai:tokens:output"
//nolint:gosec
tokenTotal = "$ld:ai:tokens:total"
//nolint:gosec
tokenInput = "$ld:ai:tokens:input"
//nolint:gosec
tokenOutput = "$ld:ai:tokens:output"
)

// TokenUsage represents the token usage returned by a model provider for a specific request.
Expand Down Expand Up @@ -116,13 +119,26 @@ func (d *defaultStopwatch) Stop() time.Duration {
}

// newTracker creates a new Tracker with the specified key, event sink, config, context, and loggers.
func newTracker(key string, variationKey string, events EventSink, config *Config, ctx ldcontext.Context, loggers interfaces.LDLoggers) *Tracker {
func newTracker(
key string,
variationKey string,
events EventSink,
config *Config,
ctx ldcontext.Context,
loggers interfaces.LDLoggers) *Tracker {
return newTrackerWithStopwatch(key, variationKey, events, config, ctx, loggers, &defaultStopwatch{})
}

// newTrackerWithStopwatch creates a new Tracker with the specified key, event sink, config, context, loggers, and
// stopwatch. This method is used for testing purposes.
func newTrackerWithStopwatch(key string, variationKey string, events EventSink, config *Config, ctx ldcontext.Context, loggers interfaces.LDLoggers, stopwatch Stopwatch) *Tracker {
func newTrackerWithStopwatch(
key string,
variationKey string,
events EventSink,
config *Config,
ctx ldcontext.Context,
loggers interfaces.LDLoggers,
stopwatch Stopwatch) *Tracker {
if config == nil {
panic("LaunchDarkly SDK programmer error: config must never be nil")
}
Expand Down Expand Up @@ -217,14 +233,18 @@ func (t *Tracker) TrackUsage(usage TokenUsage) error {
return nil
}

func measureDurationOfTask[T any, A any](stopwatch Stopwatch, arg A, task func(A) (T, error)) (T, time.Duration, error) {
func measureDurationOfTask[T any, A any](
stopwatch Stopwatch,
arg A,
task func(A) (T, error)) (T, time.Duration, error) {
stopwatch.Start()
result, err := task(arg)
return result, stopwatch.Stop(), err
}

// TrackRequest tracks metrics for a model evaluation request. The task function should return a ProviderResponse
// which can be used to specify request metrics and token usage. All fields of the returned ProviderResponse are optional.
// which can be used to specify request metrics and token usage. All fields of the returned ProviderResponse are
// optional.
//
// The task function will be passed the current AI config, which can be used to obtain any parameters or messages
// relevant to the request.
Expand Down
9 changes: 5 additions & 4 deletions ldai/tracker_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@ import (

"github.com/launchdarkly/go-server-sdk/ldai/datamodel"

"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"

"github.com/launchdarkly/go-sdk-common/v3/ldcontext"
"github.com/launchdarkly/go-sdk-common/v3/ldlogtest"
"github.com/launchdarkly/go-sdk-common/v3/ldvalue"
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
)

type mockEvents struct {
Expand Down Expand Up @@ -198,8 +199,8 @@ func TestTracker_LatencyMeasuredIfNotProvided(t *testing.T) {
assert.NoError(t, err)
assert.Equal(t, expectedResponse, r)

require.Equal(t, 3, len(events.events))
gotEvent := events.events[1]
require.Equal(t, 4, len(events.events))
gotEvent := events.events[2]
assert.Equal(t, "$ld:ai:duration:total", gotEvent.name)
assert.Equal(t, 42.0, gotEvent.metricValue)
}
Expand Down
2 changes: 1 addition & 1 deletion ldotel/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/launchdarkly/go-server-sdk/ldotel

go 1.18
go 1.20

require (
github.com/launchdarkly/go-sdk-common/v3 v3.1.0
Expand Down
27 changes: 1 addition & 26 deletions ldotel/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ4
github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag=
github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE=
github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=
github.com/google/go-cmp v0.6.0/go.mod h1:17dUlkBOakJ0+DkrSSNjCkIjxS6bF9zb3elmeNGIjoY=
github.com/google/uuid v1.1.1 h1:Gkbcsh/GbpXz7lPftLA3P6TYMwjCLYm83jiFQZF/3gY=
github.com/google/uuid v1.1.1/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo=
github.com/gregjones/httpcache v0.0.0-20171119193500-2bcd89a1743f h1:kOkUP6rcVVqC+KlKKENKtgfFfJyDySYhqL9srXooghY=
Expand All @@ -17,57 +16,38 @@ github.com/josharian/intern v1.0.0/go.mod h1:5DoeVV0s6jJacbCEi61lwdGj/aVlrQvzHFF
github.com/karlseguin/expect v1.0.2-0.20190806010014-778a5f0c6003 h1:vJ0Snvo+SLMY72r5J4sEfkuE7AFbixEP2qRbEcum/wA=
github.com/karlseguin/expect v1.0.2-0.20190806010014-778a5f0c6003/go.mod h1:zNBxMY8P21owkeogJELCLeHIt+voOSduHYTFUbwRAV8=
github.com/kr/pretty v0.3.1 h1:flRD4NNwYAUpkphVc1HcthR4KEIFJ65n8Mw5qdRn3LE=
github.com/kr/pretty v0.3.1/go.mod h1:hoEshYVHaxMs3cyo3Yncou5ZscifuDolrwPKZanG3xk=
github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
github.com/launchdarkly/ccache v1.1.0 h1:voD1M+ZJXR3MREOKtBwgTF9hYHl1jg+vFKS/+VAkR2k=
github.com/launchdarkly/ccache v1.1.0/go.mod h1:TlxzrlnzvYeXiLHmesMuvoZetu4Z97cV1SsdqqBJi1Q=
github.com/launchdarkly/eventsource v1.6.2 h1:5SbcIqzUomn+/zmJDrkb4LYw7ryoKFzH/0TbR0/3Bdg=
github.com/launchdarkly/eventsource v1.6.2/go.mod h1:LHxSeb4OnqznNZxCSXbFghxS/CjIQfzHovNoAqbO/Wk=
github.com/launchdarkly/go-jsonstream/v3 v3.0.0 h1:qJF/WI09EUJ7kSpmP5d1Rhc81NQdYUhP17McKfUq17E=
github.com/launchdarkly/go-jsonstream/v3 v3.0.0/go.mod h1:/1Gyml6fnD309JOvunOSfyysWbZ/ZzcA120gF/cQtC4=
github.com/launchdarkly/go-jsonstream/v3 v3.1.0 h1:U/7/LplZO72XefBQ+FzHf6o4FwLHVqBE+4V58Ornu/E=
github.com/launchdarkly/go-jsonstream/v3 v3.1.0/go.mod h1:2Pt4BR5AwWgsuVTCcIpB6Os04JFIKWfoA+7faKkZB5E=
github.com/launchdarkly/go-sdk-common/v3 v3.1.0 h1:KNCP5rfkOt/25oxGLAVgaU1BgrZnzH9Y/3Z6I8bMwDg=
github.com/launchdarkly/go-sdk-common/v3 v3.1.0/go.mod h1:mXFmDGEh4ydK3QilRhrAyKuf9v44VZQWnINyhqbbOd0=
github.com/launchdarkly/go-sdk-events/v3 v3.2.0 h1:FUby/4cUSVDghCkFDpvy+7vZlIW4+CK95HjQnuqGXVs=
github.com/launchdarkly/go-sdk-events/v3 v3.2.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI=
github.com/launchdarkly/go-sdk-events/v3 v3.4.0 h1:22sVSEDEXpdOEK3UBtmThwsUHqc+cbbe/pJfsliBAA4=
github.com/launchdarkly/go-sdk-events/v3 v3.4.0/go.mod h1:oepYWQ2RvvjfL2WxkE1uJJIuRsIMOP4WIVgUpXRPcNI=
github.com/launchdarkly/go-semver v1.0.2 h1:sYVRnuKyvxlmQCnCUyDkAhtmzSFRoX6rG2Xa21Mhg+w=
github.com/launchdarkly/go-semver v1.0.2/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
github.com/launchdarkly/go-semver v1.0.3 h1:agIy/RN3SqeQDIfKkl+oFslEdeIs7pgsJBs3CdCcGQM=
github.com/launchdarkly/go-semver v1.0.3/go.mod h1:xFmMwXba5Mb+3h72Z+VeSs9ahCvKo2QFUTHRNHVqR28=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0 h1:nQbR1xCpkdU9Z71FI28bWTi5LrmtSVURy0UFcBVD5ZU=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.0/go.mod h1:cwk7/7SzNB2wZbCZS7w2K66klMLBe3NFM3/qd3xnsRc=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1 h1:rTgcYAFraGFj7sBMB2b7JCYCm0b9kph4FaMX02t4osQ=
github.com/launchdarkly/go-server-sdk-evaluation/v3 v3.0.1/go.mod h1:fPS5d+zOsgFnMunj+Ki6jjlZtFvo4h9iNbtNXxzYn58=
github.com/launchdarkly/go-server-sdk/v7 v7.4.0 h1:GaxFHjLuJzPTnadrQ2FcwSgW2Q1q2ZK/JtxpN5Q6vus=
github.com/launchdarkly/go-server-sdk/v7 v7.4.0/go.mod h1:EY2ag+p9HnNXiG4pJ+y7QG2gqCYEoYD+NJgwkhmUUqk=
github.com/launchdarkly/go-server-sdk/v7 v7.6.1 h1:6Mt4R6LMuhzaMo4cm1v9wflmi4mEogRb1AVpV4ZkT+U=
github.com/launchdarkly/go-server-sdk/v7 v7.6.1/go.mod h1:vvqK1AtPPaR7A7yX/zc3dpFPKH/yrUzwj3ab3KHS+9I=
github.com/launchdarkly/go-server-sdk/v7 v7.6.2 h1:fWwwXBRy9rDX+xDJgYdIzt3eJoiYAB6foGAoqMJgIHo=
github.com/launchdarkly/go-server-sdk/v7 v7.6.2/go.mod h1:rf/K2E4s5OjkB8Nn3ATDOR6W6S3U7D8FJ3WAKLxSTIQ=
github.com/launchdarkly/go-test-helpers/v2 v2.2.0 h1:L3kGILP/6ewikhzhdNkHy1b5y4zs50LueWenVF0sBbs=
github.com/launchdarkly/go-test-helpers/v2 v2.2.0/go.mod h1:L7+th5govYp5oKU9iN7To5PgznBuIjBPn+ejqKR0avw=
github.com/launchdarkly/go-test-helpers/v3 v3.0.2 h1:rh0085g1rVJM5qIukdaQ8z1XTWZztbJ49vRZuveqiuU=
github.com/launchdarkly/go-test-helpers/v3 v3.0.2/go.mod h1:u2ZvJlc/DDJTFrshWW50tWMZHLVYXofuSHUfTU/eIwM=
github.com/mailru/easyjson v0.7.6 h1:8yTIVnZgCoiM1TgqoeTl+LfU5Jg6/xL3QhGQnimLYnA=
github.com/mailru/easyjson v0.7.6/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/mailru/easyjson v0.7.7 h1:UGYAvKxe3sBsEDzO8ZeWOSlIQfWFlxbzLZe7hwFURr0=
github.com/mailru/easyjson v0.7.7/go.mod h1:xzfreul335JAWq5oZzymOObrkdz5UnU4kGfJJLY9Nlc=
github.com/patrickmn/go-cache v2.1.0+incompatible h1:HRMgzkcYKYpi3C8ajMPV8OFXaaRUnok+kx1WdO15EQc=
github.com/patrickmn/go-cache v2.1.0+incompatible/go.mod h1:3Qf8kWWT7OJRJbdiICTKqZju1ZixQ/KpMGzzAfe6+WQ=
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4=
github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8=
github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs=
github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA=
github.com/stretchr/testify v1.6.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.6.1/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
github.com/stretchr/testify v1.8.4/go.mod h1:sz/lmYIOXD/1dqDmKjjqLyZ2RngseejIcXlSw2iwfAo=
github.com/stretchr/testify v1.9.0 h1:HtqpIVDClZ4nwg75+f6Lvsy/wHu+3BoSGCbBAcpTsTg=
github.com/stretchr/testify v1.9.0/go.mod h1:r2ic/lqez/lEtzL7wO/rwa5dbSLXVDPFyf8C91i36aY=
github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0 h1:3UeQBvD0TFrlVjOeLOBz+CPAI8dnbqNSVwUwRrkp7vQ=
github.com/wsxiaoys/terminal v0.0.0-20160513160801-0940f3fc43a0/go.mod h1:IXCdmsXIht47RaVFLEdVnh1t+pgYtTAhQGj73kz+2DM=
Expand All @@ -79,19 +59,14 @@ go.opentelemetry.io/otel/sdk v1.24.0 h1:YMPPDNymmQN3ZgczicBY3B6sf9n62Dlj9pWD3ucg
go.opentelemetry.io/otel/sdk v1.24.0/go.mod h1:KVrIYw6tEubO9E96HQpcmpTKDVn9gdv35HoYiQWGDFg=
go.opentelemetry.io/otel/trace v1.24.0 h1:CsKnnL4dUAr/0llH9FKuc698G04IrpWV0MQA/Y1YELI=
go.opentelemetry.io/otel/trace v1.24.0/go.mod h1:HPc3Xr/cOApsBI154IU0OI0HJexz+aw5uPdbs3UCjNU=
golang.org/x/exp v0.0.0-20220823124025-807a23277127 h1:S4NrSKDfihhl3+4jSTgwoIevKxX9p7Iv9x++OEIptDo=
golang.org/x/exp v0.0.0-20220823124025-807a23277127/go.mod h1:cyybsKvd6eL0RnXn6p/Grxp8F5bW7iYuBgsNCOHpMYE=
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa h1:ELnwvuAXPNtPk1TJRuGkI9fDTwym6AYBu0qzT8AcHdI=
golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa/go.mod h1:akd2r19cwCdwSwWeIdzYQGa/EZZyqcOdwWiwj5L5eKQ=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e h1:vcxGaoTs7kV8m5Np9uUNQin4BrLOthgV7252N8V+FwY=
golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
golang.org/x/sync v0.8.0 h1:3NFvSEYkUoMifnESzZl15y791HH1qU2xm6eCJU5ZPXQ=
golang.org/x/sync v0.8.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk=
golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y=
golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk=
gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c/go.mod h1:JHkPIbrfpd72SG/EVd6muEfDQjcINNoR0C8j2r3qZ4Q=
gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v2 v2.2.8/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI=
gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
Expand Down
2 changes: 1 addition & 1 deletion testservice/go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/launchdarkly/go-server-sdk/v7/testservice

go 1.18
go 1.20

require (
github.com/aws/aws-sdk-go-v2/config v1.17.5
Expand Down

0 comments on commit 46c9694

Please sign in to comment.