Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GPX ¶
type GPX struct { XMLName xml.Name `xml:"gpx"` Creator string `xml:"creator,attr"` Version string `xml:"version,attr"` Tracks []Track `xml:"trk"` }
GPX is the root element of a GPS Exchange Format File.
func UnmarshalGPX ¶
func UnmarshalGPX(r io.ReadCloser) (*GPX, error)
UnmarshalGPX reads and parses the GPX data from the provided io.ReadCloser. It returns a pointer to the parsed GPX struct and any error encountered during parsing.
Click to show internal directories.
Click to hide internal directories.