diff --git a/http.go b/http.go index f508d14e..11dea589 100644 --- a/http.go +++ b/http.go @@ -130,8 +130,8 @@ func ListenAndServe(ctx context.Context, addr string) error { websocketHub = NewWSHub() srv := http.Server{ - Addr: addr, - Handler: r, + Addr: addr, + Handler: r, } errs := make(chan error, 1) go func() { diff --git a/internal/gpsd/gpsd.go b/internal/gpsd/gpsd.go index a133c26b..294931ca 100644 --- a/internal/gpsd/gpsd.go +++ b/internal/gpsd/gpsd.go @@ -127,8 +127,8 @@ func (c *Conn) Close() error { // Next returns the next object sent from the daemon, or an error. // // The empty interface returned can be any of the following types: -// * Sky: A Sky object reports a sky view of the GPS satellite positions. -// * TPV: A TPV object is a time-position-velocity report. +// - Sky: A Sky object reports a sky view of the GPS satellite positions. +// - TPV: A TPV object is a time-position-velocity report. func (c *Conn) Next() (interface{}, error) { c.mu.Lock() defer c.mu.Unlock()