salviati / go-tmx

A Go library that reads Tiled's TMX files
40 stars 16 forks source link

ReadFile() convenience function. #10

Closed SolarLune closed 6 years ago

SolarLune commented 6 years ago

Hey there! I added a function to make it slightly easier to read a file in from a filepath. Seems like this might be a useful thing to add, considering this is probably what most people who load in a TMX file would do to get it in there. Let me know what you think. Thanks!

bjorn commented 6 years ago

Note that you can force-push (git push -f ...) to the same remote branch to update a PR. There's no need to open a new PR to change it.

SolarLune commented 6 years ago

Ah, that's right - thanks! I forgot about that capability.

salviati commented 6 years ago

Thanks!

SolarLune commented 6 years ago

No prob!