Golang 结构体转字节数组(struct to []byte) 代码: package main import ( "bytes" "encoding/binary" "fmt" log "fmt" ) type N