It could be something like
data := io.ReadAll(zd) ?: return nil, fmt.Errorf(...)
like in Kotlin. I think this likes to encourage overly-long lines though, I'm personally happy with Go's error handling today.