sdk-go icon indicating copy to clipboard operation
sdk-go copied to clipboard

When adding int64 to cloudevent extensions - getting Field error

Open Roman-Bober opened this issue 2 years ago • 1 comments

When calling ~github.com\cloudevents\sdk-go\[email protected]\event\event_writer.go:SetExtension :

cevent := cloudevents.NewEvent()
var val int64
val = 206192050177
cevent.SetExtension("eventid", val)

getting error and value is not set

image

Roman-Bober avatar Oct 31 '22 18:10 Roman-Bober