Please ensure that you are using the latest version of the master branch before filing an issue.
Also make sure to include logs (if applicable) to help reproduce the issue by setting the GODEBUG=http2debug=2 env var.
-
What version of Go are you using? go.1.22.0
-
What OS and processor architecture are you using? arm64 darwin
-
What did you do?
Passed this variable to a function apnsPayload := payload.NewPayload()
Calling apnsPayload.ThreadID() from function parameter apnsPayload of type *payload.Payload
-
What did you expect to see?
No panic
-
What did you see instead?
Panic interface conversion: interface {} is map[string]interface {}, not *payload.aps
Please ensure that you are using the latest version of the master branch before filing an issue.
Also make sure to include logs (if applicable) to help reproduce the issue by setting the
GODEBUG=http2debug=2env var.What version of Go are you using?
go.1.22.0What OS and processor architecture are you using?
arm64darwinWhat did you do?
Passed this variable to a function
apnsPayload := payload.NewPayload()Calling
apnsPayload.ThreadID()from function parameterapnsPayloadof type*payload.PayloadWhat did you expect to see?
No panic
What did you see instead?
Panic
interface conversion: interface {} is map[string]interface {}, not *payload.aps