How do I dump the struct into the byte array without reflection? How do I dump the struct into the byte array without reflection? go go

How do I dump the struct into the byte array without reflection?