Float64 wraps a Uint64, and since Uint64 supports Swap, Float64 can also support Swap. Enable the Swap method in the generated code, and add tests. This also adds a note for why String doesn't support Swap (though it will be possible after Go 1.17+).
2.4 KiB
2.4 KiB