Skip to content

Commit

Permalink
go fmt ./...
Browse files Browse the repository at this point in the history
  • Loading branch information
martinhpedersen committed Oct 21, 2023
1 parent c76b660 commit f0df19a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions http.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
4 changes: 2 additions & 2 deletions internal/gpsd/gpsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit f0df19a

Please sign in to comment.