Passed
Push — main ( ca1a65...aff05a )
by Acho
02:34
created

internal/stubs/track.go   A

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A stubs.TrackEventResponse 0 2 1
1
package stubs
2
3
// TrackEventResponse returns a stubbed response for tracking an event
4
func TrackEventResponse() []byte {
5
	return []byte(`
6
{
7
	  "success": true,
8
	  "data": {
9
			"contact": "6c53eb74-f3cd-4953-84da-6b88703b980a",
10
			"event": "7a592ad5-59dc-40bd-aec0-ff201d121f4e",
11
			"timestamp": "2025-12-16T16:45:24.649Z"
12
	  }
13
}
14
`)
15
}
16