ptrv/go-gpx — pull request #1 by saljam (2014-12-31 13:03:15+00:00)
Title: Add a Waypoints type and use it in Routes/TrackSegments/Gpx.Waypoints + various refactoring

Hi, great package, thanks for writing this!

I've been using it in a personal project and I did some refactoring to try to make the API smaller and more idiomatic. I've also:
- Moved the TrkSeg methods to a separate []Wpt type so that Gpx.Routes & Gpx.Waypoints get the same method set for free.
- Renamed Parse to ParseFile and added Parse which takes an io.Reader.

I'm fairly certain I broke some things and much of this is obviously subjective, so let me know if you'd like me to change things or split this pull request to smaller parts.