encoding/binary: Write() struct int type no output. · Issue #13156 · golang/go
// right:int32 is ok type T struct { A int32 } // wrong:int has no output,and no error type T struct { A int } func main() { buf := new(bytes.Buffer) t := T{1} err := binary.Write(buf, binary.BigEn...