remote/siri_envelope.go
Function NewAutodetectSIRIEnvelope
has 7 return statements (exceeds 4 allowed). Open
Open
func NewAutodetectSIRIEnvelope(body io.Reader) (*SIRIEnvelope, error) {
// Attempt to read the body
content, err := io.ReadAll(body)
if err != nil {
return nil, err