Sandertv / gophertunnel

General purpose library for Minecraft Bedrock Edition software written in Go
MIT License
423 stars 97 forks source link

is not byte array but String type #124

Closed SenseiTarzan closed 2 years ago

Sandertv commented 2 years ago

This is intentionally a []byte. In Go json data is always represented as a []byte and it prevents copying of the original data. Why do you reckon this should be a string?

HashimTheArab commented 2 years ago

If you wanna use it as a string you can cast it with string(formdata)

JustTalDevelops commented 2 years ago

Closing this PR because of the reasons discussed above.