Versions in this module Expand all Collapse all v1 v1.0.0 Apr 16, 2018 Changes in this version + const Auto + const ChecksumSep + const DGPS + const Degrees + const East + const ErrorUnit + const FRTK + const FieldSep + const Fix2D + const Fix3D + const FixNone + const GPS + const Invalid + const InvalidGLL + const InvalidRMC + const Manual + const Minutes + const North + const PPS + const Point + const PrefixGLGSV + const PrefixGNGGA + const PrefixGNRMC + const PrefixGPGGA + const PrefixGPGLL + const PrefixGPGSA + const PrefixGPGSV + const PrefixGPRMC + const PrefixGPVTG + const PrefixGPZDA + const PrefixPGRME + const RTK + const Seconds + const SentenceStart + const South + const ValidGLL + const ValidRMC + const West + func FormatDMS(l float64) string + func FormatGPS(l float64) string + func ParseDMS(s string) (float64, error) + func ParseDecimal(s string) (float64, error) + func ParseGPS(s string) (float64, error) + func ParseLatLong(s string) (float64, error) + type BaseSentence struct + Checksum string + Fields []string + Raw string + Type string + func (s BaseSentence) Prefix() string + func (s BaseSentence) String() string + type Date struct + DD int + MM int + Valid bool + YY int + func ParseDate(ddmmyy string) (Date, error) + func (d Date) String() string + type GLGSV struct + Info []GLGSVInfo + MessageNumber int64 + NumberSVsInView int64 + TotalMessages int64 + type GLGSVInfo struct + Azimuth int64 + Elevation int64 + SNR int64 + SVPRNNumber int64 + type GNGGA struct + Altitude float64 + DGPSAge string + DGPSId string + FixQuality string + HDOP float64 + Latitude float64 + Longitude float64 + NumSatellites int64 + Separation float64 + Time Time + type GNRMC struct + Course float64 + Date Date + Latitude float64 + Longitude float64 + Speed float64 + Time Time + Validity string + Variation float64 + type GPGGA struct + Altitude float64 + DGPSAge string + DGPSId string + FixQuality string + HDOP float64 + Latitude float64 + Longitude float64 + NumSatellites int64 + Separation float64 + Time Time + type GPGLL struct + Latitude float64 + Longitude float64 + Time Time + Validity string + type GPGSA struct + FixType string + HDOP float64 + Mode string + PDOP float64 + SV []string + VDOP float64 + type GPGSV struct + Info []GPGSVInfo + MessageNumber int64 + NumberSVsInView int64 + TotalMessages int64 + type GPGSVInfo struct + Azimuth int64 + Elevation int64 + SNR int64 + SVPRNNumber int64 + type GPRMC struct + Course float64 + Date Date + Latitude float64 + Longitude float64 + Speed float64 + Time Time + Validity string + Variation float64 + type GPVTG struct + GroundSpeedKPH float64 + GroundSpeedKnots float64 + MagneticTrack float64 + TrueTrack float64 + type GPZDA struct + Day int64 + Month int64 + OffsetHours int64 + OffsetMinutes int64 + Time Time + Year int64 + type PGRME struct + Horizontal float64 + Spherical float64 + Vertical float64 + type Sentence interface + Prefix func() string + func Parse(raw string) (Sentence, error) + type Time struct + Hour int + Millisecond int + Minute int + Second int + Valid bool + func ParseTime(s string) (Time, error) + func (t Time) String() string