Skip to content

Commit 3b4c49b

Browse files
sahidveljiaepfli
andauthored
fix: remove ITracking interface in favour of Tracker (#365)
Signed-off-by: Sahid Velji <sahidvelji@gmail.com> Co-authored-by: Simon Schrottner <simon.schrottner@dynatrace.com>
1 parent 8844be4 commit 3b4c49b

File tree

2 files changed

+5
-46
lines changed

2 files changed

+5
-46
lines changed

openfeature/interfaces.go

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ type IClient interface {
4747
State() State
4848

4949
IEventing
50-
ITracking
50+
Tracker
5151
}
5252

5353
// IEventing defines the OpenFeature eventing contract
@@ -56,11 +56,6 @@ type IEventing interface {
5656
RemoveHandler(eventType EventType, callback EventCallback)
5757
}
5858

59-
// ITracking defines the Tracking contract
60-
type ITracking interface {
61-
Track(ctx context.Context, trackingEventName string, evalCtx EvaluationContext, details TrackingEventDetails)
62-
}
63-
6459
// evaluationImpl is an internal reference interface extending IEvaluation
6560
type evaluationImpl interface {
6661
IEvaluation

openfeature/interfaces_mock.go

Lines changed: 4 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)