Does go support big-endian?

I want to compile go amd64 to big-endian. Is it possible?

Hi @adeshk, welcome to the forum.

I am not that deep in to HW architecture details, but AFAIK, endianness is not an issue, except perhaps for specific encoding or decoding operation, and here the encoding/binary package should have you covered.

amd64 is an extended x86 and as such always little-endian by definition.

Can you explain in more details what exactly you want to compile for which architecture?