From Rob Pike on Google groups:
```go:
func CheckEndian() {
    return *(*byte)(unsafe.Pointer(&x)) == 0x01 
}
```

True: big endian, false: little endian.